forked from Imagelibrary/rtems
Commented out exception handling code since these routines are not
called from Ada tasks. It is questionable whether the exception handling would work correctly.
This commit is contained in:
@@ -133,11 +133,11 @@ package body Test_Support is
|
|||||||
Text_IO.Put_Line( "<pause> " );
|
Text_IO.Put_Line( "<pause> " );
|
||||||
-- Text_IO.Get_Line( Ignored_String, Ignored_Last );
|
-- Text_IO.Get_Line( Ignored_String, Ignored_Last );
|
||||||
|
|
||||||
exception
|
-- exception
|
||||||
|
|
||||||
when Text_IO.End_Error =>
|
-- when Text_IO.End_Error =>
|
||||||
-- ignore this error. It happens when redirecting input from /dev/null
|
-- -- ignore this error. It happens when redirecting input from /dev/null
|
||||||
return;
|
-- return;
|
||||||
|
|
||||||
end Pause;
|
end Pause;
|
||||||
|
|
||||||
@@ -159,13 +159,13 @@ package body Test_Support is
|
|||||||
Text_IO.Put( "<pause - screen " );
|
Text_IO.Put( "<pause - screen " );
|
||||||
Unsigned32_IO.Put( SCREEN, Width=>2 );
|
Unsigned32_IO.Put( SCREEN, Width=>2 );
|
||||||
Text_IO.Put_Line( "> " );
|
Text_IO.Put_Line( "> " );
|
||||||
Text_IO.Get_Line( Ignored_String, Ignored_Last );
|
-- Text_IO.Get_Line( Ignored_String, Ignored_Last );
|
||||||
|
|
||||||
exception
|
-- exception
|
||||||
|
|
||||||
when Text_IO.End_Error =>
|
-- when Text_IO.End_Error =>
|
||||||
-- ignore this error. It happens when redirecting input from /dev/null
|
-- -- ignore this error. It happens when redirecting input from /dev/null
|
||||||
return;
|
-- return;
|
||||||
|
|
||||||
end Pause_And_Screen_Number;
|
end Pause_And_Screen_Number;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user