Changeset: 89d0db3c4f1c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=89d0db3c4f1c
Modified Files:
common/stream/gz_stream.c
Branch: default
Log Message:
Do not use LZMA_OK in gz_stream.c
Use Z_OK instead
diffs (12 lines):
diff --git a/common/stream/gz_stream.c b/common/stream/gz_stream.c
--- a/common/stream/gz_stream.c
+++ b/common/stream/gz_stream.c
@@ -144,7 +144,7 @@ gz_stream(stream *inner, int level)
ret = deflateInit2(&gz->strm, level, Z_DEFLATED, 15 | 16, 8,
Z_DEFAULT_STRATEGY);
}
- if (ret != LZMA_OK) {
+ if (ret != Z_OK) {
free(gz);
free(state);
mnstr_set_open_error(inner->name, 0, "failed to initialize gz
stream: code %d", (int)ret);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list