This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2008 02:28:00 -0000
- Subject: [Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)
- References: <bug-34974-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:27 -------
Subject: Bug 34974
Author: jvdelisle
Date: Thu Feb 21 02:27:07 2008
New Revision: 132512
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132512
Log:
2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35132
* io/transfer.c (next_record_w): Truncate after the last record for
STREAM I/O.
PR libfortran/34954
* io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.
PR libfortran/34974
* io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
is less than zero. (next_record_w): Use sseek to position the file to
the max position reached.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34974