msvcrt: Fix strncmp return value.
commit6d2a9af43b6e40ced85fb62544f4a07776f3d237
authorShaun Ren <sren@codeweavers.com>
Tue, 6 Sep 2022 18:59:05 +0000 (6 14:59 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Sep 2022 18:12:32 +0000 (19 20:12 +0200)
tree7897c174f0f78a6695fadc24ecfd3db4050819e9
parent1b3f61d7a596c4673a734243d166cdabf028537b
msvcrt: Fix strncmp return value.

Some programs, such as Final Fantasy IV (3D remake), expect strncmp
to return exactly +/-1 when the strings are not equal.

Signed-off-by: Shaun Ren <sren@codeweavers.com>
14 files changed:
configure
configure.ac
dlls/msvcr100/tests/msvcr100.c
dlls/msvcr110/tests/msvcr110.c
dlls/msvcr120/tests/msvcr120.c
dlls/msvcr70/tests/Makefile.in [new file with mode: 0644]
dlls/msvcr70/tests/msvcr70.c [new file with mode: 0644]
dlls/msvcr71/tests/Makefile.in [new file with mode: 0644]
dlls/msvcr71/tests/msvcr71.c [new file with mode: 0644]
dlls/msvcr80/tests/msvcr80.c
dlls/msvcr90/tests/msvcr90.c
dlls/msvcrt/string.c
dlls/msvcrt/tests/string.c
dlls/ucrtbase/tests/string.c