This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] patch for pr18364 -- endfile does not truncate file
- From: Steven Bosscher <stevenb at suse dot de>
- To: fortran at gcc dot gnu dot org
- Cc: Bud Davis <bdavis9659 at comcast dot net>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 27 Nov 2004 23:08:46 +0100
- Subject: Re: [gfortran] patch for pr18364 -- endfile does not truncate file
- Organization: SUSE Labs
- References: <1101582872.520.7.camel@localhost.localdomain>
On Saturday 27 November 2004 20:14, Bud Davis wrote:
> PR fortran/18364
> * io/endfile.c (st_endfile): flush the stream before truncating.
Looks obvious.
Gr.
Steven