Module: wine
Branch: stable
Commit: 82b079cae4ff9bee4b0449b3059bd571dbf8cb59
URL: https://source.winehq.org/git/wine.git/?a=commit;h=82b079cae4ff9bee4b0449b3…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Tue Feb 2 18:17:15 2021 -0600
ntdll: Treat '>' the same as '?' in match_filename().
They differ in strange ways, as the tests show, but the basic behaviour of '>' is similar to '?'.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=22635
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit 690a0699189b26d4821d614dfa9704f49cf610a7)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
dlls/ntdll/unix/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
index a4c6bf4a137..d6533fedfdd 100644
--- a/dlls/ntdll/unix/file.c
+++ b/dlls/ntdll/unix/file.c
@@ -1342,6 +1342,7 @@ static BOOLEAN match_filename( const WCHAR *name, int length, const UNICODE_STRI
next_to_retry = name;
break;
case '?':
+ case '>':
mask++;
name++;
break;