[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47537] textscan reads entire file even when g
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47537] textscan reads entire file even when given a count |
Date: |
Sat, 26 Mar 2016 07:22:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #47537 (project octave):
Status: Need Info => Duplicate
_______________________________________________________
Follow-up Comment #1:
Mike, see bug #47517.
The file isn't read until EOF, as you can see from the size of the return
value. The problem is that the patch for seekg() was not committed when the
rest of textscan was. Without it, seekg() always returns -1 even if not at
EOF. I've attached it again, in case that makes finding it easier.
(file #36764)
_______________________________________________________
Additional Item Attachment:
File name: textscan_enable_seek_v2.cset Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47537>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/