patch for transfer.c

DeLisle, Jerry V Jerry_V_DeLisle@RL.gov
Sat Aug 5 16:32:00 GMT 2006


Hi Folks,

I am at work this morning, but I could not resist commenting on all
this.

I have i686-linux machine I use for my work at home on gfortran.  When
working out the large file I/O problem I specifically inserted some
sizeof and st_printf lines to see what was going on.  IIRC, gfc_offset
which is size_t has a sizeof 8 bytes (64 bits) on my system.  This is
why Large IO worked fine on my system with only a change on the front
end to change rec to GFC_LARGE_IO_INT.

It would be more consistant with other casts in the I/O library to use
(gfc_offset).

I hope I am not all wet.  It would not be the first time.

As for logic, no comment.  :)

Jerry



More information about the Fortran mailing list