[Patch, libfortran] PR 40812 Large file support on MinGW
Tobias Burnus
burnus@net-b.de
Fri Dec 4 14:25:00 GMT 2009
On 12/03/2009 05:56 PM, Janne Blomqvist wrote:
> Yes, I misread the description for SetFilePointerEx on MSDN, or rather
> I didn't read it and just assumed it would work like POSIX lseek().
> Attached is a further revised version of the patch that uses lseek
> (which is as of this patch redefined as _lseeki64 on MinGW). Also, it
> tries to seek back to the original position in case something went
> wrong in order to make it behave more like ftruncate().
>
Your patch is OK with changing "_off64_t" to "off64_t" as suggested by
Danny.
Thanks for bringing large-file support to gfortran on Windows!
Tobais
More information about the Fortran
mailing list