Zebediah Figura : ntdll: Treat '>' the same as '?' in match_filename().

Alexandre Julliard julliard at winehq.org
Wed Feb 3 15:39:27 CST 2021


Module: wine
Branch: master
Commit: 690a0699189b26d4821d614dfa9704f49cf610a7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=690a0699189b26d4821d614dfa9704f49cf610a7

Author: Zebediah Figura <zfigura at 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 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list