1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Merge pull request #1839 from bimbashrestha/named_pipes

Allowing named pipes to go through in zstdcli
This commit is contained in:
Yann Collet
2019-10-24 10:53:12 -07:00
committed by GitHub
5 changed files with 26 additions and 2 deletions

View File

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