[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: Wed, 22 Jan 2020 16:08:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

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

The offset argument for _lseek is of type long (see the link John provided).
Contrary to what one might expect, long has 32 bit on 64 bit Windows systems,
see e.g. [1].
So I think _lseeki64 must be used for files > 4 GiB no matter if Windows is 32
bit or 64 bit.



Reply to this item at:


  Message sent via Savannah

reply via email to

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