[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33876] textscan: resuming reading does not wo
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #33876] textscan: resuming reading does not work |
Date: |
Wed, 03 Aug 2011 23:58:26 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30 |
Follow-up Comment #14, bug #33876 (project octave):
All the integrated tests pass. However, resuming reading still fails.
filename = "fubar.txt";
fid = fopen (filename, "w");
for n = 1:2:20
fprintf (fid, "%d %dn", n + [0 1])
endfor
fclose (fid);
fid = fopen ('fubar.txt');
c = textscan (fid, '%d %d', 1)
c =
{
[1,1] = 1
[1,2] = 2
}
c = textscan (fid, '%d %d', 1)
c =
{
[1,1] = 5
[1,2] = 6
}
I'll push a changeset to fix this.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33876>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/