This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libgfortran,patch] Build libgfortran when dup() and access() are not available


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:

Attachment: access_dup.ChangeLog
Description: Binary data

Attachment: access_dup.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]