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

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

[Octave-bug-tracker] [bug #35852] fscanf does not read full file


From: Roman Hiestand
Subject: [Octave-bug-tracker] [bug #35852] fscanf does not read full file
Date: Tue, 22 May 2012 15:35:00 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

Follow-up Comment #13, bug #35852 (project octave):

I have the same problem with all newer Octave versions (tested on Vista 32 bit
and Win7 64 bit).
Please find a small test program attached to this comment (fscanf_testcase.m).
It creates its own test file, then tries to read it.
The Octave versions 3.2.4 and 3.4.3 work correctly, while the versions 3.6.1
and 3.6.0 (gcc 4.6.2) show the error. All builds have been downloaded from the
OctaveForge homepage
(http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/).
Also, the Linux version of Octave 3.6.1 works fine (original package from
Ubuntu 11.10 x64).

Expected output:
octave.exe:15> fscanf_errortestcase
ans =

       5   40000

ans =

       7   40000

Wrong output, Octave 3.6.1:
octave:26> fscanf_errortestcase
ans =

      5   4000

ans =

      7   2681


(file #25905)
    _______________________________________________________

Additional Item Attachment:

File name: fscanf_errortestcase.m         Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35852>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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