[Bug libfortran/30162] [4.7/4.8 Regression] Unformatted sequential I/O with named pipes does not work

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 21 20:13:00 GMT 2013


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



More information about the Gcc-bugs mailing list