[Scummvm-devel] eof & err

Johannes Schickel lordhoto at scummvm.org
Sun Jul 12 22:25:31 CEST 2009


sunmax at libero.it wrote:
> Hi Johannes,
>
>   
>> When I'm not totally wrong "readPastEndOfFile" is not eof though. It 
>> seems only to be set when not all data could be read in "std_fread". 
>>     
>
> I see!
>
> I very likely misunderstood that, once in a while I copy, ehm,
> take inspiration (!) from the DS backend which is our other
> brother with limited resources and its own FS implementation ;-)

No offense to our DS porter, but that code there looks really strange. 
It might be better to read the ScummVM doxygen documentation instead of 
looking how the DS port does it.

// Johannes




More information about the Scummvm-devel mailing list