This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/23272] [mingw32] inquire via filename fails
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2005 21:27:13 -0000
- Subject: [Bug libfortran/23272] [mingw32] inquire via filename fails
- References: <20050807124839.23272.fxcoudert@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-02 21:27 -------
libgfortran does the inquire by fstating the files and comparing devices types
and inode numbers (st_dev and st_ino). But, on mingw, fstat returns 0 as inode
number for all files. Thus, the inquire fails (that is, the comparison match for
the first unit tested, which happens to be unit=0).
How can we uniquely identify a file on Windows?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-02 21:27:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272