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

[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: John Donoghue
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 17:07:05 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

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

I can replicate it in dev octave. 


On an initial look into the code in oct-stream.cc, stream::seek(off_t offset,
int origin), we try to move to the end of the file:



// Move to end of file.  If successful, find the offset of the end.
status = m_rep->seek (0, SEEK_END);


The status return at that point is -1.

I haven't dug further into it yet.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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