This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r122773 - in /branches/gcc-4_2-branch/libgfortr...
- From: jvdelisle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 09 Mar 2007 23:55:17 -0000
- Subject: r122773 - in /branches/gcc-4_2-branch/libgfortr...
Author: jvdelisle
Date: Fri Mar 9 23:55:17 2007
New Revision: 122773
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122773
Log:
2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31099
* io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
* io/transfer.c (next_record_w): Set bytes left to record length for
sequential unformatted I/O.
(next_record_r): Ditto.
(read_block_direct): Fix test for exceeding bytes_left.
Modified:
branches/gcc-4_2-branch/libgfortran/ChangeLog
branches/gcc-4_2-branch/libgfortran/io/open.c
branches/gcc-4_2-branch/libgfortran/io/transfer.c