This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: fortran-diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]