removed UTIL_doesFileExists (replaced with UTIL_isRegFile)

This commit is contained in:
Przemyslaw Skibinski
2017-02-14 09:38:51 +01:00
parent b876b96ce1
commit 442c75f132
2 changed files with 18 additions and 32 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ static FILE* FIO_openSrcFile(const char* srcFileName)
f = stdin;
SET_BINARY_MODE(stdin);
} else {
if (!UTIL_doesFileExists(srcFileName)) {
if (!UTIL_isRegFile(srcFileName)) {
DISPLAYLEVEL(1, "zstd: %s is not a regular file -- ignored \n", srcFileName);
return NULL;
}