octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always


From: Paul Eggert
Subject: [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB
Date: Mon, 11 Nov 2024 14:50:39 -0500 (EST)

Follow-up Comment #9, bug #66399 (group octave):

As Bruno Haible mentioned on the Gnulib mailing list in
"[https://lists.gnu.org/r/bug-gnulib/2024-11/msg00091.html Re: fseek and ftell
with large files on Windows]", this is not a bug in Gnulib.

To fix the problem, I suppose Octave can use fseeko/ftello internally instead
of fseek/ftell, and change its bootstrap.conf to specify the fseeko and ftello
modules instead of the fseek and ftell modules.

A quick glance at the source code indicates that Octave is already using
fseeko in most places, but there are some places where it's not. I'm attaching
a little patch "octave-fseeko.diff" to show the first place I found. Most
likely further fixes along these lines would be needed.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66399>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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