Package: gnat-4.9 Followup-For: Bug #182360 Control: retitle -1 [Fixed in 5.2] GNAT.OS_Lib.Close ignores return value
Adacore has found a way to preserve compatibility *and* allow the user to raise an exception. >From s-os_lib.ads: procedure Close (FD : File_Descriptor; Status : out Boolean); -- Close file referenced by FD. Status is False if the underlying service -- failed. Reasons for failure include: disk full, disk quotas exceeded -- and invalid file descriptor (the file may have been closed twice). procedure Close (FD : File_Descriptor); -- Close file referenced by FD. This form is used when the caller wants to -- ignore any possible error (see above for error cases).