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