aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/liblzma.pc.in
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-01-06 22:53:38 +0200
committerJia Tan <jiat0218@gmail.com>2023-01-09 20:35:20 +0800
commit0c210ca7f489e971e94e1ddc72b0b0806e3c7935 (patch)
treee788812643eb868420235de1d781b28c64a9289f /src/liblzma/liblzma.pc.in
parentTests: Refactors existing filter flags tests. (diff)
downloadxz-0c210ca7f489e971e94e1ddc72b0b0806e3c7935.tar.xz
Tests: test_filter_flags: Clean up minor issues.
Here are the list of the most significant issues addressed: - Avoid using internal common.h header. It's not good to copy the constants like this but common.h cannot be included for use outside of liblzma. This is the quickest thing to do that could be fixed later. - Omit the INIT_FILTER macro. Initialization should be done with just regular designated initializers. - Use start_offset = 257 for BCJ tests. It demonstrates that Filter Flags encoder and decoder don't validate the options thoroughly. 257 is valid only for the x86 filter. This is a bit silly but not a significant problem in practice because the encoder and decoder initialization functions will catch bad alignment still. Perhaps this should be fixed but it's not urgent and doesn't need to be in 5.4.x. - Various tweaks to comments such as filter id -> Filter ID
Diffstat (limited to 'src/liblzma/liblzma.pc.in')
0 files changed, 0 insertions, 0 deletions