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

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

[Octave-bug-tracker] [bug #52116] Textscan filepointer bug is still pres


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52116] Textscan filepointer bug is still present in Windows build
Date: Tue, 26 Sep 2017 14:50:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #8, bug #52116 (project octave):

Thanks C.M.  I've run the script on Linux and verified the bug--the lastline
variable beginning with 99.88.  So, this is not Windows OS specific.

This looks like a duplicate bug.  Replacing the textscan() line with


A = textscan(fid,'%f %f %f %f %f %f %f %f %f %f %f %f
%f',4,"endofline","\r\n","BufSize",4096);


gives me the correct result.  See bug report

https://savannah.gnu.org/bugs/?50619#comment13

This textscan() looks like a high priority bug.  It needs a pretty significant
restructuring because of the way it descends into a subroutine that reads one
line at a time and tries to put stuff back into the buffer.  Information about
what has been read is lost.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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