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] |
Currently, gfortran will set IOSTAT to the same value for any OS error. This, of course, is technically conforming to the Standard, However, it provides no information as to what the problem is. The attach patch will set IOSTAT to errno when a OS error occurs. Note, ERROR_OS has been set to 5000 in gfortran.h, which exceeds all values of errno that I could find for a multitude of operating systems. Note, there is no patch for gfortran.texi in that it currently has no section for system dependent bahavior/settings. 2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org> * runtime/error.c: Add errno.h (generate_error): Set iostat to errno on OS error. * libgfortran.h: Set ERROR_OS to 5000 -- Steve
Attachment:
errno.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |