[Scummvm-devel] Major "bug" / misfeature in the Stream system

Lars Persson larspp at hotmail.com
Mon Sep 8 19:48:21 CEST 2008


Hi!
I already encountered this problem, when my Symbian filehandling was signaling EOF on the last byte read, which stopped lots of games working. So I adopted my implementation to follow the stdio feof behaviour and then it worked much better. 
 
So I agree that the stdio way is the way to go, since thats the implementation most systems will use anyway.
 
Cheers Lars> Date: Sun, 7 Sep 2008 21:24:59 +0000> From: wjp at usecode.org> To: max at quendi.de> CC: scummvm-devel at lists.sourceforge.net> Subject: Re: [Scummvm-devel] Major "bug" / misfeature in the Stream system> > On Sun, Sep 07, 2008 at 11:03:02PM +0200, Max Horn wrote:> [snip]> > Anyway, this is a bad thing for both people who want to write Stream > > objects as well as for those who want to use them. So, I think we need > > to do something about this. Here's what I propose:> > > > 1) Decide what shall be considered "correct" behavior from now on. My > > proposal: Let's do it exactly as stdio does. The advantage is that in > > stdio, the behavior of ferror/feof is thoroughly defined and well- > > understood by people.> > I agree completely.> > > Does that sounds like a reasonable plan? Any volunteers to help with > > it? Because I am pretty swamped with other stuff :).> > I can take care of part of the work. It should be fairly doable if a> couple of us work together to go over all the streams and engines.> > -Willem Jan> > -------------------------------------------------------------------------> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge> Build the coolest Linux based applications with Moblin SDK & win great prizes> Grand prize is a trip for two to an Open Source event anywhere in the world> http://moblin-contest.org/redirect.php?banner_id=100&url=/> _______________________________________________> Scummvm-devel mailing list> Scummvm-devel at lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20080908/bef765d6/attachment.html>


More information about the Scummvm-devel mailing list