[libgfortran,patch] Build libgfortran when dup() and access() are not available
FX Coudert
fxcoudert@gmail.com
Thu Sep 13 23:26:00 GMT 2007
This patch provides a fallback implementation of acces(), using open
(), that covers the cases used in io/unix.c. For dup(), the graceful
degradation is probably the best we can provide, and should only fail
when closing pre-connected units. (But then, for embedded targets,
I'd say: so be it.)
Manually testeed on x86_64-linux, OK to commit?
FX
:ADDPATCH fortran:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: access_dup.ChangeLog
Type: application/octet-stream
Size: 299 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070913/d95d0b54/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: access_dup.diff
Type: application/octet-stream
Size: 1923 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070913/d95d0b54/attachment-0001.obj>
More information about the Gcc-patches
mailing list