[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57644] fseek fread fail for files >4GB 5.1.0

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57644] fseek fread fail for files >4GB 5.1.0 on Windows10 64-bit x64 proc
Date: Tue, 21 Jan 2020 09:45:47 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #2, bug #57644 (project octave):

"fseek" uses the gnulib wrapper for fseeko [1]. That page references
> On platforms where off_t is a 32-bit type, fseeko does not work correctly
with files larger than 2 GB. (Cf. AC_SYS_LARGEFILE.)

I don't find any reference to AC_SYS_LARGEFILE [2] in the Octave sources.
I don't know if off_t is a 32-bit type on cygwin. But maybe we could use that
macro to enable fseeking in large files on affected systems.

[1]: https://www.gnu.org/software/gnulib/manual/html_node/fseeko.html


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]