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

Willem Jan Palenstijn wjp at usecode.org
Sun Sep 7 23:24:59 CEST 2008


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




More information about the Scummvm-devel mailing list