This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] patch for pr19872
- From: Bud Davis <bdavis at gfortran dot org>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: gfortran <fortran at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 20 Feb 2005 09:22:17 -0600
- Subject: Re: [gfortran] patch for pr19872
- References: <26561468.1108895466254.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net> <42188190.2020000@moene.indiv.nluug.nl>
On Sun, 2005-02-20 at 06:24, Toon Moene wrote:
>
> I guess this is OK. Note, however, that g77 only truncates on close,
> rewind and endfile.
i will give it another look. truncate is not the only answer, a
function that zeroes the file size in the stream abstraction will also
work...
not committed pending a better solution..
--bud