Skip FIFO files in listings.

This commit is contained in:
Armin Novak 2017-08-04 09:01:13 +02:00
parent 0a23bdf61f
commit efe6971899

View File

@ -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))