From cf08958d9ba966c3cf046eac5f203b1ba24bbdb4 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 26 Oct 2016 18:37:29 -0700 Subject: [PATCH] print one global summary (instead of one per file) --- NEWS | 2 ++ examples/multiple_streaming_compression.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 2e611864..2c2585f0 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 81541f59..c002a887 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; }