<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi!<BR>
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. <BR>
<BR>
So I agree that the stdio way is the way to go, since thats the implementation most systems will use anyway.<BR>
<BR>
Cheers Lars<BR><BR>> Date: Sun, 7 Sep 2008 21:24:59 +0000<BR>> From: wjp@usecode.org<BR>> To: max@quendi.de<BR>> CC: scummvm-devel@lists.sourceforge.net<BR>> Subject: Re: [Scummvm-devel] Major "bug" / misfeature in the Stream system<BR>> <BR>> On Sun, Sep 07, 2008 at 11:03:02PM +0200, Max Horn wrote:<BR>> [snip]<BR>> > Anyway, this is a bad thing for both people who want to write Stream <BR>> > objects as well as for those who want to use them. So, I think we need <BR>> > to do something about this. Here's what I propose:<BR>> > <BR>> > 1) Decide what shall be considered "correct" behavior from now on. My <BR>> > proposal: Let's do it exactly as stdio does. The advantage is that in <BR>> > stdio, the behavior of ferror/feof is thoroughly defined and well- <BR>> > understood by people.<BR>> <BR>> I agree completely.<BR>> <BR>> > Does that sounds like a reasonable plan? Any volunteers to help with <BR>> > it? Because I am pretty swamped with other stuff :).<BR>> <BR>> I can take care of part of the work. It should be fairly doable if a<BR>> couple of us work together to go over all the streams and engines.<BR>> <BR>> -Willem Jan<BR>> <BR>> -------------------------------------------------------------------------<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> _______________________________________________<BR>> Scummvm-devel mailing list<BR>> Scummvm-devel@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/scummvm-devel<BR><BR><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>