http://bugs.winehq.org/show_bug.cgi?id=31057
--- Comment #19 from Roman Kagan rkagan@mail.ru 2013-11-11 03:39:42 CST --- Created attachment 46500 --> http://bugs.winehq.org/attachment.cgi?id=46500 minimal reproducer
Minimal reproducer for the ungetwc() problem.
Build with MSVC:
cl -MD repro.c
or mingw32:
i686-w64-mingw32-gcc repro.c -o repro.exe
Run:
# echo -e '\xef\xbb\xbfhi there' > Makefile # wine repro.exe hi there # echo 'hi there' > Makefile # wine repro.exe #