[patch, libgfortran] Merge of fortran-dev IO to trunk

David Edelsohn dje.gcc@gmail.com
Mon Apr 6 12:41:00 GMT 2009


Jerry,

This patch re-broke libgfortran on AIX by reverting the io.h struct
stream member from trunc to truncate.  "truncate" conflicts with some
renaming for large file support that AIX performs.  This had been
fixed in libgfortran by naming the structure member "trunc", but your
patch reverted that change.

Fixed with the following patch:

        * io/io.h (struct stream): Change truncate to trunc.
        (struncate): Same.
        * io/unix.c (raw_init): Change truncate to trunc.
        (buf_init): Same.
        (open_internal): Same.

Bootstrapped on powerpc-ibm-aix5.3.0.0.  Okay?

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fortran-diff
Type: application/octet-stream
Size: 3142 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090406/f3c9e595/attachment.obj>


More information about the Gcc-patches mailing list