[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35852] fscanf does not read full file
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #35852] fscanf does not read full file |
Date: |
Wed, 13 Jun 2012 14:25:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 |
Follow-up Comment #26, bug #35852 (project octave):
With the proposed patch to discard '+' and change the sign if '-' has been
read, what happens if the input stream contains something like '-X'? The read
will fail, but I think the read pointer will be positioned at 'X' then instead
of at the '-' character. I think that could cause trouble also. Shouldn't a
failed conversion leave the input pointer unchanged?
Note that saving the stream position and seeking won't work reliably either,
because seeking is not guaranteed to work if someone has opened the file in
text mode on a Windows system.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35852>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/05
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Jordi Gutiérrez Hermoso, 2012/06/07
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/07
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Jordi Gutiérrez Hermoso, 2012/06/11
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/12
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Jordi Gutiérrez Hermoso, 2012/06/12
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, John W. Eaton, 2012/06/12
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/13
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file,
John W. Eaton <=
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Jordi Gutiérrez Hermoso, 2012/06/18
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/19
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, John W. Eaton, 2012/06/19
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, John W. Eaton, 2012/06/21
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, Roman Hiestand, 2012/06/22
- [Octave-bug-tracker] [bug #35852] fscanf does not read full file, John W. Eaton, 2012/06/26