]> git.ipfire.org Git - thirdparty/zstd.git/commit
Disable console notification by default within the library
authorYann Collet <yann.collet.73@gmail.com>
Fri, 3 Sep 2021 20:44:07 +0000 (13:44 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Fri, 3 Sep 2021 20:44:07 +0000 (13:44 -0700)
commitf0fc8cb3e19e4685bec012bd0bc881b2d5664899
treea2303f66164ea2d027e83e941ea79b09b313d8bb
parenteab692211eca2943439b7894b210a85e6931bdd9
Disable console notification by default within the library

As a library, the default shouldn't be to write anything on console.
`cover` and `fastcover` have a `g_displayLevel` variable to control this behavior.
It's now set to 0 (no display) by default.
Setting notification to a higher level should be an explicit operation by a console application.
lib/compress/zstd_opt.c
lib/dictBuilder/cover.c
lib/dictBuilder/fastcover.c
tests/fuzzer.c