mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
5761603265
It returned LZMA_PROG_ERROR, which was done to avoid zero as the limit (because it's a special value elsewhere), but using LZMA_PROG_ERROR is simply inconvenient and can cause bugs. The fix/workaround is to treat 0 as if it were 1 byte. It's effectively the same thing. The only weird consequence is that then lzma_memlimit_get() will return 1 even when 0 was specified as the limit. This fixes a very rare corner case in xz --list where a specific memory usage limit and a multi-stream file could print the error message "Internal error (bug)" instead of saying that the memory usage limit is too low. |
||
---|---|---|
.. | ||
api | ||
check | ||
common | ||
delta | ||
lz | ||
lzma | ||
rangecoder | ||
simple | ||
liblzma.map | ||
liblzma.pc.in | ||
liblzma_w32res.rc | ||
Makefile.am | ||
validate_map.sh |