[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-09-20 Thread fxcoudert at gcc dot gnu dot org


--- Comment #10 from fxcoudert at gcc dot gnu dot org  2007-09-20 22:58 
---
Fixed.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-09-20 Thread fxcoudert at gcc dot gnu dot org


--- Comment #9 from fxcoudert at gcc dot gnu dot org  2007-09-20 22:57 
---
Subject: Bug 23272

Author: fxcoudert
Date: Thu Sep 20 22:56:48 2007
New Revision: 128636

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128636
Log:
PR libfortran/23272

* io/unix.c (id_from_handle, id_from_path, id_from_fd): New
functions.
(compare_file_filename, find_file, find_file0): Use the new
functions above.

* gfortran.dg/inquire_10.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/inquire_10.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/unix.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-08-22 Thread fxcoudert at gcc dot gnu dot org


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-09-28 14:09:37 |2007-08-22 11:53:02
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-07-27 Thread jv244 at cam dot ac dot uk


--- Comment #8 from jv244 at cam dot ac dot uk  2007-07-27 12:03 ---
(In reply to comment #7)
> Added. I can't give you permission to add keywords, the only thing I can do is
> make you a CONFIRMer (which I just did).

OK, I might use that from time to time. Who has the power to allow me to
add/change keywords?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-07-27 Thread fxcoudert at gcc dot gnu dot org


--- Comment #7 from fxcoudert at gcc dot gnu dot org  2007-07-27 11:24 
---
(In reply to comment #6)
> should one add a mingw maintainer to the CC?

Adding Danny Smith to the CC list.

> BTW, this one misses the wrong-code keyword (and I don't have permission to 
> add
> it, which is annoying).

Added. I can't give you permission to add keywords, the only thing I can do is
make you a CONFIRMer (which I just did).


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dannysmith at gcc dot gnu
   ||dot org
   Keywords||wrong-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2007-07-20 Thread jv244 at cam dot ac dot uk


--- Comment #6 from jv244 at cam dot ac dot uk  2007-07-20 19:35 ---
should one add a mingw maintainer to the CC?

BTW, this one misses the wrong-code keyword (and I don't have permission to add
it, which is annoying).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2006-02-03 Thread fxcoudert at gcc dot gnu dot org


--- Comment #5 from fxcoudert at gcc dot gnu dot org  2006-02-03 20:31 
---
Unfortunately, I don't have time to work on this, so I let it go. Sorry.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu
   |org |dot org
 Status|ASSIGNED|NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-23 20:43 
---
Subject: Bug 23272

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-23 20:43:54

Modified files:
libgfortran: ChangeLog acinclude.m4 config.h.in configure 
 configure.ac 
libgfortran/io : io.h open.c unix.c 

Log message:
PR libfortran/23272
* acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
* configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* io/unix.c (compare_file_filename): Add fallback case for
systems without working stat.
* io/open.c (already_open): Correct call to
compare_file_filename.
* io/io.h: Correct proto for compare_file_filename.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.331&r2=1.332
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/acinclude.m4.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/config.h.in.diff?cvsroot=gcc&r1=1.28&r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.ac.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&r1=1.46&r2=1.47


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-10-22 Thread fxcoudert at gcc dot gnu dot org


--- Comment #3 from fxcoudert at gcc dot gnu dot org  2005-10-22 22:31 
---
Patch posted (for simple cases only).


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
   |dot org |org
URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2005-
   ||10/msg01387.html
 Status|NEW |ASSIGNED
   Keywords||patch
   Last reconfirmed|2005-09-02 21:27:11 |2005-10-22 22:31:23
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-09-03 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-03 
07:55 ---
For info, here is a way to create a pseudo inode number for stat and fstat using
mingw32 and a few Windows API calls:

http://gnuwin32.sourceforge.net/compile.html

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272


[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-09-02 Thread fxcoudert 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|-00-00 00:00:00 |2005-09-02 21:27:11
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272


[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-08-07 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

Summary|inquire via filename fails  |[mingw32] inquire via
   |on mingw32  |filename fails


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272