Re: PATCH: msvcrt.ungetc
Marcus Meissner <marcus(a)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. -- Alexandre Julliard julliard(a)winehq.com
On Sun, Jul 22, 2001 at 03:40:24PM -0700, Alexandre Julliard wrote:
Marcus Meissner <marcus(a)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
participants (2)
-
Alexandre Julliard -
Marcus Meissner