File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/coreclr/tools/superpmi/mcs Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1212#include < sys/types.h>
1313#include < dirent.h>
1414#include < fnmatch.h>
15-
1615#if !HAVE_DIRENT_D_TYPE
1716#define DT_UNKNOWN 0
1817#define DT_DIR 4
1918#define DT_REG 8
2019#define DT_LNK 10
2120#endif // !HAVE_DIRENT_D_TYPE
22-
2321#endif // TARGET_UNIX
2422
2523#include < utility>
@@ -325,14 +323,10 @@ int verbMerge::FilterDirectory(LPCWSTR dir,
325323 }
326324
327325 if (dirEntryType == DT_UNKNOWN)
328- {
329326 continue ;
330- }
331327
332328 if (fnmatch (searchPatternUtf8.c_str (), pEntry->d_name , 0 ) != 0 )
333- {
334329 continue ;
335- }
336330
337331 // Call the filter with &FindData like the Windows code below.
338332 FindData findData (dirEntryType, ConvertMultiByteToWideChar (pEntry->d_name ));
You can’t perform that action at this time.
0 commit comments