PATCH: msvcrt.ungetc

Marcus Meissner marcus at jet.franken.de
Mon Jul 23 06:45:07 CDT 2001


On Sun, Jul 22, 2001 at 03:40:24PM -0700, Alexandre Julliard wrote:
> Marcus Meissner <marcus at jet.franken.de> writes:
> 
> > --- include/msvcrt/stdio.h	2001/05/07 18:18:34	1.2
> > +++ include/msvcrt/stdio.h	2001/07/21 12:43:43
> > @@ -72,6 +72,7 @@
> >    int   _charbuf;
> >    int   _bufsiz;
> >    char* _tmpfname;
> > +  int   _ungetc;
> >  } MSVCRT(FILE);
> 
> You cannot do that, the FILE structure has to remain binary
> compatible.

Hmm. Properly implementing would mean writing a complete stdio FILE*
implementation, including buffer handling, which is currently too much
work for me.

Ciao, Marcus




More information about the wine-devel mailing list