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: Emmanuel Brandt
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 06:15:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

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

                 Summary: fseek fread fail for files >4GB 5.1.0 on Windows10
64-bit x64 proc
                 Project: GNU Octave
            Submitted by: emmanuelbrandt
            Submitted on: mar. 21 janv. 2020 11:15:40 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Emmanuel Brandt
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Running Octave 5.1.0 on Windows 10 64-bit OS on x65-based processor

Cannot work on file larger than 4GB


>> version
ans = 5.1.0
f=fopen("small.ser")
f =  4
ᰕ >> fseek(f,0,'eof')
ans = 0
>> ftell(f)
ans =  221451138
>> fclose(f)
ans = 0
>> f=fopen('large.ser')
f =  4
>> fseek(f,178)
ans = -1
>> fclose(f)
ans = 0





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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