]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libfortran/26661 (Sequential formatted read goes too far)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 26 Mar 2006 02:15:44 +0000 (02:15 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 26 Mar 2006 02:15:44 +0000 (02:15 +0000)
commit0853054e96b9be76be424b0bdde28a54305fdd60
treed9fd16198721c77e9d7670c1d0b9353fc9b6e9c1
parent44f808b02dd58ab2e665b48deb4cbbd962b0c0de
re PR libfortran/26661 (Sequential formatted read goes too far)

2006-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26661
* io/io.h: Add read_sf so it can be used by read_x.
* io/transfer.c (read_sf): Pass no_error flag to read_sf.  Use it to
break out rather than error on EOF or EOR conditions.
(read_block): Update call to read_sf.
(read_block_direct): Ditto.
* io/read.c (read_x): Use the modified read_sf instead of read_block.

From-SVN: r112390
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/read.c
libgfortran/io/transfer.c