[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41648] fread not working with skip parameter
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #41648] fread not working with skip parameter |
Date: |
Fri, 21 Feb 2014 00:26:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Update of bug #41648 (project octave):
Assigned to: jwe => None
_______________________________________________________
Follow-up Comment #3:
I've attached a patch that fixes the skip problem for me.
I will say that this seems to have exposed another issue. When I run the
following code I get a 2-column output which is most definitely wrong.
fid = fopen ("test.bin", "rb");
fread (fid, 3, "2*uint8",10)
ans =
0 13
1 0
12 0
This seems related, although my patch doesn't fix it so perhaps it should be a
different bug report.
(file #30624)
_______________________________________________________
Additional Item Attachment:
File name: patch.fread_skip Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41648>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/