|
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 "AC_SYS_LARGEFILE": > 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 [2]: https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/System-Services.html _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57644> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |