Merge pull request #1839 from bimbashrestha/named_pipes
Allowing named pipes to go through in zstdcli
This commit is contained in:
+1
-1
@@ -520,7 +520,7 @@ static FILE* FIO_openSrcFile(const char* srcFileName)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!UTIL_isRegularFile(srcFileName)) {
|
||||
if (!UTIL_isRegularFile(srcFileName) && !UTIL_isFIFO(srcFileName)) {
|
||||
DISPLAYLEVEL(1, "zstd: %s is not a regular file -- ignored \n",
|
||||
srcFileName);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user