[gfortran] Patch for identifying files with filename

FX Coudert fxcoudert@gmail.com
Sat Oct 22 22:30:00 GMT 2005


This patch adds a fallback implementation to compare files based on
filename, instead of using stat st_ino and st_dev, which are not
available on mingw32. This works for simple cases (when the file is
accessed twice with the same name), but fails for cases like "foo" and
"./foo" or "test/../foo". This might come later on :)

Tested on i386-mingw32, regtesting in progress on i686-linux. As this
only concerns mingw, I plan to commit this in 24 hours, unless someone
has an objection.

FX

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stat_mingw.ChangeLog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051022/bb07beac/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stat_mingw.diff
Type: text/x-patch
Size: 4967 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051022/bb07beac/attachment.bin>


More information about the Fortran mailing list