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

Janne Blomqvist blomqvist.janne@gmail.com
Mon Apr 6 13:09:00 GMT 2009


David Edelsohn wrote:
> 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?

Ok, thanks for fixing it.

-- 
Janne Blomqvist



More information about the Fortran mailing list