This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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, libfortran] PR 40812 Large file support on MinGW


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


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