projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1304a19
)
really default to default XZ compression level
32/107932/1
author
Thierry Vignaud
<thierry.vignaud@gmail.com>
Thu, 12 Feb 2009 10:59:31 +0000
(10:59 +0000)
committer
Dongkyun, Son
<dongkyun.s@samsung.com>
Mon, 2 Jan 2017 02:25:01 +0000
(11:25 +0900)
which BTW fix the default compression level which is 6 instead of 7
Change-Id: I8b9b50a2cd1f64169477a72cc4d36a374d7a9867
rpmio/rpmio.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmio.c
b/rpmio/rpmio.c
index
cd223e8
..
0d9ba03
100644
(file)
--- 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;