From: Yann Collet Date: Thu, 27 Oct 2016 01:37:29 +0000 (-0700) Subject: print one global summary (instead of one per file) X-Git-Tag: v1.1.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf08958d9ba966c3cf046eac5f203b1ba24bbdb4;p=thirdparty%2Fzstd.git print one global summary (instead of one per file) --- diff --git a/NEWS b/NEWS index 2e6118648..2c2585f00 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ v1.1.1 New : command -M#, --memory=, --memlimit=, --memlimit-decompress= to limit allowed memory consumption New : doc/zstd_manual.html, by Przemyslaw Skibinski Improved : slightly better compression ratio at --ultra levels (>= 20) +Added : ZSTD_initCStream_usingCDict(), ZSTD_initDStream_usingDDict() (experimental section) +Added : example/multiple_streaming_compression Changed : zstd_errors.h is now part of include installation Fixed : zstd-small, zstd-compress and zstd-decompress compilation targets diff --git a/examples/multiple_streaming_compression.c b/examples/multiple_streaming_compression.c index 81541f590..c002a8872 100644 --- a/examples/multiple_streaming_compression.c +++ b/examples/multiple_streaming_compression.c @@ -121,9 +121,6 @@ static void compressFile_orDie(resources ress, const char* fname, const char* ou fclose_orDie(fout); fclose_orDie(fin); - - /* success */ - printf("%-30s -> %-30s \n", fname, outName); } @@ -159,5 +156,8 @@ int main(int argc, const char** argv) } freeResources(ress); + /* success */ + printf("compressed %i files \n", argc-1); + return 0; }