eric pouech (@epo) commented about dlls/ntdll/unix/file.c:
TRACE( "long %s short %s mask %s\n", debugstr_w( long_nameW ), debugstr_w( short_nameW ), debugstr_us( mask ));
- if (mask && !match_filename( long_nameW, long_len, mask ))
- if (mask && mask->Length != 0 && !match_filename( long_nameW, long_len, mask ))
wouldn't it be simpler for factorize that test in caller (and pass NULL for mask when its length is 0)