Date: Sat, 15 Apr 2017 20:15:44 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316980 - head/contrib/zstd/programs Message-ID: <201704152015.v3FKFiwZ006836@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Apr 15 20:15:44 2017 New Revision: 316980 URL: https://svnweb.freebsd.org/changeset/base/316980 Log: Change some default to make zstd a dropin replacement for gzip,bzip etc in most cases Changes ares: - quiet by default - remove the source files one compression completion by default Modified: head/contrib/zstd/programs/fileio.c head/contrib/zstd/programs/zstdcli.c Modified: head/contrib/zstd/programs/fileio.c ============================================================================== --- head/contrib/zstd/programs/fileio.c Sat Apr 15 20:06:24 2017 (r316979) +++ head/contrib/zstd/programs/fileio.c Sat Apr 15 20:15:44 2017 (r316980) @@ -138,7 +138,7 @@ static U32 g_dictIDFlag = 1; void FIO_setDictIDFlag(unsigned dictIDFlag) { g_dictIDFlag = dictIDFlag; } static U32 g_checksumFlag = 1; void FIO_setChecksumFlag(unsigned checksumFlag) { g_checksumFlag = checksumFlag; } -static U32 g_removeSrcFile = 0; +static U32 g_removeSrcFile = 1; void FIO_setRemoveSrcFile(unsigned flag) { g_removeSrcFile = (flag>0); } static U32 g_memLimit = 0; void FIO_setMemLimit(unsigned memLimit) { g_memLimit = memLimit; } Modified: head/contrib/zstd/programs/zstdcli.c ============================================================================== --- head/contrib/zstd/programs/zstdcli.c Sat Apr 15 20:06:24 2017 (r316979) +++ head/contrib/zstd/programs/zstdcli.c Sat Apr 15 20:15:44 2017 (r316980) @@ -61,7 +61,7 @@ #define MB *(1 <<20) #define GB *(1U<<30) -#define DEFAULT_DISPLAY_LEVEL 2 +#define DEFAULT_DISPLAY_LEVEL 1 static const char* g_defaultDictName = "dictionary"; static const unsigned g_defaultMaxDictSize = 110 KB;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704152015.v3FKFiwZ006836>