Shaun Ren : msvcrt: Fix strncmp return value.
Module: wine Branch: master Commit: 6d2a9af43b6e40ced85fb62544f4a07776f3d237 URL: https://gitlab.winehq.org/wine/wine/-/commit/6d2a9af43b6e40ced85fb62544f4a07... Author: Shaun Ren <sren(a)codeweavers.com> Date: Tue Sep 6 14:59:05 2022 -0400 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(a)codeweavers.com> --- configure | 2 + configure.ac | 2 + dlls/msvcr100/tests/msvcr100.c | 47 +++++++++++++++++++++++ dlls/msvcr110/tests/msvcr110.c | 38 ++++++++++++++++++ dlls/msvcr120/tests/msvcr120.c | 36 +++++++++++++++++ dlls/msvcr70/tests/Makefile.in | 4 ++ dlls/msvcr70/tests/msvcr70.c | 87 ++++++++++++++++++++++++++++++++++++++++++ dlls/msvcr71/tests/Makefile.in | 4 ++ dlls/msvcr71/tests/msvcr71.c | 87 ++++++++++++++++++++++++++++++++++++++++++ dlls/msvcr80/tests/msvcr80.c | 46 ++++++++++++++++++++++ dlls/msvcr90/tests/msvcr90.c | 45 ++++++++++++++++++++++ dlls/msvcrt/string.c | 7 ++++ dlls/msvcrt/tests/string.c | 15 ++++++-- dlls/ucrtbase/tests/string.c | 32 ++++++++++++++++ 14 files changed, 449 insertions(+), 3 deletions(-)
participants (1)
-
Alexandre Julliard