s-fileio.adb: Minor reformatting
2008-08-08 Robert Dewar <dewar@adacore.com> * s-fileio.adb: Minor reformatting From-SVN: r138868
This commit is contained in:
parent
8529dde57a
commit
632eb367bf
@ -988,9 +988,11 @@ package body System.File_IO is
|
||||
Stream := fopen (Namestr'Address, Fopstr'Address, Encoding);
|
||||
|
||||
if Stream = NULL_Stream then
|
||||
|
||||
-- Raise Name_Error if trying to open a non-existent file.
|
||||
-- Otherwise raise Use_Error. Should we raise Device_Error for
|
||||
-- ENOSPC???
|
||||
-- Otherwise raise Use_Error.
|
||||
|
||||
-- Should we raise Device_Error for ENOSPC???
|
||||
|
||||
if System.OS_Lib.Errno = System.OS_Constants.ENOENT then
|
||||
raise Name_Error;
|
||||
|
Loading…
Reference in New Issue
Block a user