This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/19872] closed and re-opened file not overwriten
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Apr 2005 03:43:16 -0000
- Subject: [Bug libfortran/19872] closed and re-opened file not overwriten
- References: <20050210095616.19872.bdavis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-10 03:43 -------
Subject: Bug 19872
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kargl@gcc.gnu.org 2005-04-10 03:43:09
Modified files:
libgfortran : ChangeLog
libgfortran/io : transfer.c
Log message:
PR fortran/19872
* io/transfer.c (data_transfer_init): truncate an existing
file on the first write.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.187&r2=1.188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gcc&r1=1.34&r2=1.35
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19872