[PATCH 1/5 v2] msvcrt/tests: Restore the multibyte codepage after the tests.

Piotr Caban piotr at codeweavers.com
Mon Sep 2 12:50:12 CDT 2019


From: Akihiro Sagawa <sagawa.aki at gmail.com>

N.B. _setmbcp() doesn't return the previous codepage.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
v2:
  - use _ismbblead instead of _mbsnextc in patch 3
  - add patch 5 that makes the behavior identical on broken input

  dlls/msvcrt/tests/string.c | 9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-tests-Restore-the-multibyte-codepage-after-the-.txt
Type: text/x-patch
Size: 1052 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190902/0ffe5455/attachment.bin>


More information about the wine-devel mailing list