diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:29:20 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:29:20 +0000 |
commit | 82a5325233f6bb3de84d540706a283a497403ef4 (patch) | |
tree | 996a1306d84c721bff6c0c9fd2b7683e4f42b95c /gcc/ada/s-fileio.adb | |
parent | e872761ad7f7d1e4fdcbcf595b995b58a94ea473 (diff) | |
download | gcc-82a5325233f6bb3de84d540706a283a497403ef4.tar.gz |
2008-08-05 Robert Dewar <dewar@adacore.com>
* s-fileio.adb: Minor code reorganization
Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-fileio.adb')
-rw-r--r-- | gcc/ada/s-fileio.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/s-fileio.adb b/gcc/ada/s-fileio.adb index bfe7d6b0cc5..41419b5f793 100644 --- a/gcc/ada/s-fileio.adb +++ b/gcc/ada/s-fileio.adb @@ -830,8 +830,8 @@ package body System.File_IO is -- Normal case of Open or Create else - -- If temporary file case, get temporary file name and add - -- to the list of temporary files to be deleted on exit. + -- If temporary file case, get temporary file name and add to the + -- list of temporary files to be deleted on exit. if Tempfile then if not Creat then @@ -965,7 +965,7 @@ package body System.File_IO is -- mode returned by Fopen_Mode is not "r" or "r+", then we first -- make sure that the file exists as required by Ada semantics. - if Creat = False and then Fopstr (1) /= 'r' then + if not Creat and then Fopstr (1) /= 'r' then if file_exists (Namestr'Address) = 0 then raise Name_Error; end if; |