[Bug libfortran/18364] endfile does not truncate file

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 27 23:36:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-27 23:36 -------
Subject: Bug 18364

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bdavis@gcc.gnu.org	2004-11-27 23:35:47

Modified files:
	libgfortran    : ChangeLog 
	libgfortran/io : endfile.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: endfile.f90 

Log message:
	2004-11-27  Bud Davis  <bdavis9659@comcast.net>
	
	PR fortran/18364
	* gfortran.dg/endfile.f90: New test.
	*  io/endfile.c (st_endfile): flush the stream before truncating.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.116&r2=1.117
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/endfile.c.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4661&r2=1.4662
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/endfile.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18364



More information about the Gcc-bugs mailing list