This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30162] [4.7/4.8 Regression] Unformatted sequential I/O with named pipes does not work
- From: "jb at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Feb 2013 20:13:12 +0000
- Subject: [Bug libfortran/30162] [4.7/4.8 Regression] Unformatted sequential I/O with named pipes does not work
- Auto-submitted: auto-generated
- References: <bug-30162-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162
--- Comment #53 from Janne Blomqvist <jb at gcc dot gnu.org> 2013-02-21 20:13:12 UTC ---
Author: jb
Date: Thu Feb 21 20:13:04 2013
New Revision: 196212
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196212
Log:
Fix regression when writing formatted sequential to a pipe.
2013-02-21 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/30162
* io/open.c (test_endfile): Call stell only if size != 0.
* io/unix.c (raw_tell): Revert r194694.
(raw_size): Return size field only for regular files, otherwise 0.
Modified:
branches/gcc-4_7-branch/libgfortran/ChangeLog
branches/gcc-4_7-branch/libgfortran/io/open.c
branches/gcc-4_7-branch/libgfortran/io/unix.c