aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_common.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-06-21 21:50:26 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-06-26 10:54:18 +0300
commit45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b (patch)
tree0425b0713325ebb6a1b46e622bc026f93f377b38 /src/common/tuklib_common.h
parentxz: Change size_t to uint32_t in a few places. (diff)
downloadxz-45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b.tar.xz
xz: Fix interaction between preset and custom filter chains.
There was somewhat illogical behavior when --extreme was specified and mixed with custom filter chains. Before this commit, "xz -9 --lzma2 -e" was equivalent to "xz --lzma2". After it is equivalent to "xz -6e" (all earlier preset options get forgotten when a custom filter chain is specified and the default preset is 6 to which -e is applied). I find this less illogical. This also affects the meaning of "xz -9e --lzma2 -7". Earlier it was equivalent to "xz -7e" (the -e specified before a custom filter chain wasn't forgotten). Now it is "xz -7". Note that "xz -7e" still is the same as "xz -e7". Hopefully very few cared about this in the first place, so pretty much no one should even notice this change. Thanks to Conley Moorhous.
Diffstat (limited to 'src/common/tuklib_common.h')
0 files changed, 0 insertions, 0 deletions