[Patch, libgfortran] Make sclose return value match POSIX

Janne Blomqvist blomqvist.janne@gmail.com
Wed Apr 8 17:10:00 GMT 2009


Hi,

One of the design goals of the new gfortran low level I/O library was to
match POSIX as far as possible. The attached patch fixes the stream
close operation to always return POSIX compatible values, and fixes the
callers.

After regtesting on i686-pc-linux-gnu, committed r145761 as obvious.



-- 
Janne Blomqvist
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090408/51d1c5a5/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: closeposix.diff
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090408/51d1c5a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090408/51d1c5a5/attachment.sig>


More information about the Gcc-patches mailing list