[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/
signature.asc
Description: PGP signature
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, (continued)
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, Philip Nienhuis, 2024/11/04
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, MikeMcC, 2024/11/04
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, Philip Nienhuis, 2024/11/05
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, MikeMcC, 2024/11/06
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, Dmitri A. Sergatskov, 2024/11/06
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, Nicholas Jankowski, 2024/11/06
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11, Nicholas Jankowski, 2024/11/06
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Nicholas Jankowski, 2024/11/06
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/11
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/11
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB,
Paul Eggert <=
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/12
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Paul Eggert, 2024/11/12
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Paul Eggert, 2024/11/12
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Paul Eggert, 2024/11/12
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/13
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/14
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Dmitri A. Sergatskov, 2024/11/15
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/15
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Dmitri A. Sergatskov, 2024/11/15
- [Octave-bug-tracker] [bug #66399] fseek and ftell functions don't always work correctly on Win11 with filesizes >2GB, Markus Mützel, 2024/11/15