Skip FIFO files in listings.
This commit is contained in:
parent
0a23bdf61f
commit
efe6971899
@ -1001,6 +1001,11 @@ BOOL FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData)
|
||||
}
|
||||
|
||||
free(fullpath);
|
||||
|
||||
/* Skip FIFO entries. */
|
||||
if (S_ISFIFO(fileStat.st_mode))
|
||||
continue;
|
||||
|
||||
lpFindFileData->dwFileAttributes = 0;
|
||||
|
||||
if (S_ISDIR(fileStat.st_mode))
|
||||
|
Loading…
Reference in New Issue
Block a user