This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2010 02:01:10 -0000
- Subject: [Bug fortran/43409] I/O: INQUIRE for SIZE does not work.
- References: <bug-43409-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from jvdelisle at gcc dot gnu dot org 2010-03-31 02:01 -------
Subject: Bug 43409
Author: jvdelisle
Date: Wed Mar 31 02:00:51 2010
New Revision: 157847
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157847
Log:
2010-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/43409
Back port from trunk.
* io/io.h: Fix type of size in st_parameter_inquire structure.
Add prototype for new function to return file size.
* io/unix.c (file_size): New function.
* io/inquire.c (inquire_via_unit): Use new function.
(inquire_via_filename): Use new function.
Modified:
branches/gcc-4_4-branch/libgfortran/ChangeLog
branches/gcc-4_4-branch/libgfortran/io/inquire.c
branches/gcc-4_4-branch/libgfortran/io/io.h
branches/gcc-4_4-branch/libgfortran/io/unix.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409