[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 22 22:04:00 GMT 2008



------- Comment #12 from jvdelisle at gcc dot gnu dot org  2008-03-22 22:03 -------
Subject: Bug 35632

Author: jvdelisle
Date: Sat Mar 22 22:03:13 2008
New Revision: 133454

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133454
Log:
2008-03-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/35632
        * io/transfer.c (data_transfer_init):  Fix whitespace.
        (next_record_w): Truncate the file only if the stream
        position is short of the file end.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/transfer.c


-- 


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



More information about the Gcc-bugs mailing list