Changeset: 3a010f435820 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3a010f435820
Modified Files:
        common/stream/bz2_stream.c
Branch: makelibstreamgreatagain
Log Message:

Libbz2 does not pick a default when level == 0


diffs (12 lines):

diff --git a/common/stream/bz2_stream.c b/common/stream/bz2_stream.c
--- a/common/stream/bz2_stream.c
+++ b/common/stream/bz2_stream.c
@@ -149,6 +149,8 @@ bz2_stream(stream *inner, int level)
        } else {
                bz->work = BZ2_bzCompress;
                bz->end = BZ2_bzCompressEnd;
+               if (level == 0)
+                       level = 6;
                ret = BZ2_bzCompressInit(&bz->strm, level, 0, 0);
        }
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to