Merge pull request #1850 from bimbashrestha/named_pipes

Gating named pipe support on windows
This commit is contained in:
Yann Collet authored and GitHub committed 2019-10-30 12:18:58 -07:00
commit 47034cd6c3
6 files changed
+19 -5

No files matched your search

+5 -1
View File
@@ -1005,7 +1005,11 @@ int main(int argCount, const char* argv[])
if (!followLinks) {
unsigned u;
for (u=0, fileNamesNb=0; u<filenameIdx; u++) {
if (UTIL_isLink(filenameTable[u]) && !UTIL_isFIFO(filenameTable[u])) {
if (UTIL_isLink(filenameTable[u])
#ifndef _MSC_VER
&& !UTIL_isFIFO(filenameTable[u])
#endif /* _MSC_VER */
) {
DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring\n", filenameTable[u]);
} else {
filenameTable[fileNamesNb++] = filenameTable[u];