msvcrt: If we're at EOF in the buffer and we pattern %n in format string we should not count the EOF in the total.

Alasdair Sinclair alasdairs at
Tue Jan 16 22:14:27 CST 2007

fix case where we're at EOF in the buffer and we have a %n in format sting.
With test case.

 dlls/msvcrt/scanf.h       |    2 +-
 dlls/msvcrt/tests/scanf.c |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 66e81222c6c718e0a60a9921ea54b722723f70d4.diff
Type: text/x-patch
Size: 1183 bytes
Desc: not available
Url :

More information about the wine-patches mailing list