Open GoogleCodeExporter opened 8 years ago
I don't think this is feasible in Allegro 4. Allegro 5 does seem to have some
file I/O functions that allow seeking forward and backward, so I'm going to
consider that a bare minimum requirement of accomplishing this. So this will
be on hold until EOF is ported to Allegro 5.
Original comment by raynebc
on 24 Oct 2011 at 11:29
Alternatively I can use the file buffering IO logic I implemented for GH import.
Original comment by raynebc
on 18 May 2012 at 6:39
Using the buffering logic would likely work, I may just need to replace some of
the functions that relied on Allegro. Getting a file's size, for example,
would need to be done as such:
fseek(fp, 0, SEEK_END);
size = ftell(fp);
fseek(fp, 0, SEEK_SET);
That would require the file handle to be open in binary mode though.
Original comment by raynebc
on 26 Jul 2012 at 7:37
Original issue reported on code.google.com by
raynebc
on 19 Nov 2010 at 3:54