[PATCH] ucrtbase: Don't fail if path ends with '\' character in stat functions family.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45292 Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/file.c | 11 +++++++++-- dlls/ucrtbase/tests/misc.c | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-)
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at https://testbot.winehq.org/JobDetails.pl?Key=39875 Your paranoid android. === wvistau64 (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === wvistau64_zh_CN (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === wvistau64_fr (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === wvistau64_he (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === w7u (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === w1064 (32 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === wvistau64 (64 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1 === w1064 (64 bit misc) === misc.c:952: Test failed: _stat32('stat_file.tst\') returned -1
participants (2)
-
Marvin -
Piotr Caban