diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2009-02-12 10:59:31 +0000 |
---|---|---|
committer | Dongkyun, Son <dongkyun.s@samsung.com> | 2017-01-02 11:25:01 +0900 |
commit | 6547212a1860ea260b04b7fb53d9c02c72b7d7c7 (patch) | |
tree | 1e667779aa1423c59d41c3780d29cb657561938d | |
parent | 1304a19179d820e9dce2ef7d73ed5c3ae5cefa8b (diff) | |
download | rpm-6547212a1860ea260b04b7fb53d9c02c72b7d7c7.tar.gz rpm-6547212a1860ea260b04b7fb53d9c02c72b7d7c7.tar.bz2 rpm-6547212a1860ea260b04b7fb53d9c02c72b7d7c7.zip |
really default to default XZ compression level
which BTW fix the default compression level which is 6 instead of 7
Change-Id: I8b9b50a2cd1f64169477a72cc4d36a374d7a9867
-rw-r--r-- | rpmio/rpmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index cd223e829..0d9ba031b 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -891,7 +891,7 @@ typedef struct lzfile { static LZFILE *lzopen_internal(const char *path, const char *mode, int fd, int xz) { - int level = 7; /* Use XZ's default compression level if unspecified */ + int level = LZMA_PRESET_DEFAULT; int encoding = 0; FILE *fp; LZFILE *lzfile; |