[PATCH 5/5] ntdll: Treat '>' the same as '?' in match_filename().

Zebediah Figura z.figura12 at gmail.com
Tue Feb 2 18:17:15 CST 2021


From: Zebediah Figura <zfigura at codeweavers.com>

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>
---
 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;
-- 
2.20.1




More information about the wine-devel mailing list