diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-11-17 09:33:29 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-11-17 09:33:29 +0000 |
commit | 6247019ec279193161abb3f2b12f3f388ae83ffa (patch) | |
tree | afa90effc7d6cd9536b4083b963ebf627f474b41 | |
parent | 5cdf66d629fb0f76956564939e990f413a14c266 (diff) | |
download | src-6247019ec279193161abb3f2b12f3f388ae83ffa.tar.gz src-6247019ec279193161abb3f2b12f3f388ae83ffa.zip |
Actually commit the right patch for r325929
Notes
Notes:
svn path=/head/; revision=325930
-rw-r--r-- | sys/contrib/zstd/programs/zstdcli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/zstd/programs/zstdcli.c b/sys/contrib/zstd/programs/zstdcli.c index 47e7cb0cd12c..d3c373c8ddd0 100644 --- a/sys/contrib/zstd/programs/zstdcli.c +++ b/sys/contrib/zstd/programs/zstdcli.c @@ -421,7 +421,7 @@ int main(int argCount, const char* argv[]) /* preset behaviors */ if (exeNameMatch(programName, ZSTD_ZSTDMT)) nbThreads=0; if (exeNameMatch(programName, ZSTD_UNZSTD)) operation=zom_decompress; - if (exeNameMatch(programName, ZSTD_CAT)) { operation=zom_decompress; forceStdout=1; FIO_overwriteMode(); outFileName=stdoutmark; g_displayLevel=1; g_removeSrcFile=0; } + if (exeNameMatch(programName, ZSTD_CAT)) { operation=zom_decompress; forceStdout=1; FIO_overwriteMode(); outFileName=stdoutmark; g_displayLevel=1; FIO_setRemoveSrcFile(0); } if (exeNameMatch(programName, ZSTD_GZ)) { suffix = GZ_EXTENSION; FIO_setCompressionType(FIO_gzipCompression); FIO_setRemoveSrcFile(1); } /* behave like gzip */ if (exeNameMatch(programName, ZSTD_GUNZIP)) { operation=zom_decompress; FIO_setRemoveSrcFile(1); } /* behave like gunzip */ if (exeNameMatch(programName, ZSTD_GZCAT)) { operation=zom_decompress; forceStdout=1; FIO_overwriteMode(); outFileName=stdoutmark; g_displayLevel=1; } /* behave like gzcat */ |