diff options
Diffstat (limited to 'gcc/ada/gnatchop.adb')
-rw-r--r-- | gcc/ada/gnatchop.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ada/gnatchop.adb b/gcc/ada/gnatchop.adb index f98d93a..8f3048c 100644 --- a/gcc/ada/gnatchop.adb +++ b/gcc/ada/gnatchop.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1998-2020, Free Software Foundation, Inc. -- +-- Copyright (C) 1998-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -995,9 +995,8 @@ procedure Gnatchop is Buffer (Read_Ptr) := EOF; - -- Comment needed for the following ??? - -- Under what circumstances can the test fail ??? - -- What is copy doing in that case??? + -- The following test can fail if there was an I/O error, in which case + -- Success will be set to False. if Read_Ptr = Length then Contents := Buffer; |