ntdll: In find_file_in_dir(), don't test directory entries' short names if the target name isn't a short name.

Ken Thomases ken at codeweavers.com
Mon Jul 28 12:58:23 CDT 2014


hash_short_file_name() will always create a short name of at least 8 characters
with the 5th being a tilde (~).  If the target name isn't of that form, then it
can never match any short name constructed from the directory entries.
---
dlls/ntdll/directory.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-In-find_file_in_dir-don-t-test-directory-entri.patch
Type: text/x-patch
Size: 1442 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140728/2b208883/attachment.bin>


More information about the wine-patches mailing list