Set the default compression level low enough to produce packages
that require no more than 10 MiB of memory to decompress, by
using the lzma command's default compression level.

Signed-off-by: Jonathan Nieder <[email protected]>
---
 lib/dpkg/compression-backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/dpkg/compression-backend.c b/lib/dpkg/compression-backend.c
index 8f0c055..4b4c9c3 100644
--- a/lib/dpkg/compression-backend.c
+++ b/lib/dpkg/compression-backend.c
@@ -25,7 +25,7 @@
 
 static const char default_gz_compression = '9';
 static const char default_bz2_compression = '9';
-static const char default_lzma_compression = '9';
+static const char default_lzma_compression = '\0';
 
 static void fd_fd_filter(int fd_in, int fd_out, const char *desc,
        const char *file, const char *cmd, const char *argfmt, ...)
-- 
1.6.5.rc1.199.g596ec


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to