Open GoogleCodeExporter opened 9 years ago
it looks very likely to the lack of 64-bit file offset support. have you tried
this with SREP 3.0?
Original comment by bulat.zi...@gmail.com
on 23 Sep 2012 at 12:54
Yes, version 3.0 is the version I'm using. The 32 bit windows version works
fine to decode the test srep attached.
I could be wrong but it might be to do with Common.h line 250:
#define file_seek(stream,pos) (fseek(stream, (pos), SEEK_SET))
Maybe it should be fseeko64? This is what has been done on line 199 for windows
32 bit. Having only a vague grasp of this, wouldn't fseek be 32 bits on 32 bit
compile, possibly regardless of -D_FILE_OFFSET_BITS=64 ? Unfortunately I cannot
test it as yet, gcc wont compile it when I add -m32 to try and compile to 32
bit code from a 64 bit linux.
Original comment by jam.pudd...@gmail.com
on 23 Sep 2012 at 9:38
Use fseeko instead of fseek in Common.h.
Change line:
#define file_seek(stream,pos) (fseek(stream, (pos), SEEK_SET))
to:
#define file_seek(stream,pos) (fseeko(stream, (pos),
SEEK_SET))
Original comment by vari...@gmail.com
on 22 Dec 2013 at 11:18
Original issue reported on code.google.com by
jam.pudd...@gmail.com
on 22 Sep 2012 at 8:29Attachments: