]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix regression when writing formatted sequential to a pipe.
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 21 Feb 2013 20:13:04 +0000 (22:13 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 21 Feb 2013 20:13:04 +0000 (22:13 +0200)
commit1bdd16b65a15fd85eac83f5e6c96f7a752be8768
tree92e463cd6487cce6cfe36b407b1b0ba17badbaef
parent5ed118309de6cd35c69a17ad1126e7ea045781ee
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.

From-SVN: r196212
libgfortran/ChangeLog
libgfortran/io/open.c
libgfortran/io/unix.c