Age | Commit message (Collapse) | Author |
|
Thanks to Alexander A. Klimov.
|
|
|
|
I thought it was more readable to write it there
explicitly, but since C will put a \0 there anyway,
relying on that can save one byte in code size.
|
|
This is enabled at compile time by defining XZ_DEC_ANY_CHECK.
If the Check ID is not supported, xz_dec_run() will return
XZ_UNSUPPORTED_CHECK. In multi-call mode, decoding can be
then continued normally. In single-call mode, decoding
cannot be continued, thus this feature is useful only
in multi-call mode.
|
|
Code that used
#define XZ_INTERNAL_CRC32
will now need to use:
#define XZ_INTERNAL_CRC32 1
This is to make it a little bit easier to use external CRC32
implementation outside the Linux kernel by using
#define XZ_INTERNAL_CRC32 0
and then providing xz_crc32() e.g. via xz_config.h.
|
|
This makes it possible to use uint32_t as vli_type.
Doing so risks having some integer overflows unless
the caller can ensure that the total amounts of input
and output will stay below 256 MiB.
|
|
|