diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2013-02-27 16:32:03 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-27 16:32:03 +0100 |
commit | 18714d8460f800476011d83bb956f4457f332acf (patch) | |
tree | 2fa8662c2bb16be97ab25f91bcc91d97a6a6fdd9 | |
parent | 9056fcecbfe5f16749ddd61f4ddb7dd4905a7ee8 (diff) | |
download | busybox-w32-18714d8460f800476011d83bb956f4457f332acf.tar.gz busybox-w32-18714d8460f800476011d83bb956f4457f332acf.tar.bz2 busybox-w32-18714d8460f800476011d83bb956f4457f332acf.zip |
xz: add a comment about using uint32_t as vli_type
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | archival/libarchive/unxz/xz_stream.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/archival/libarchive/unxz/xz_stream.h b/archival/libarchive/unxz/xz_stream.h index 2ffaa34ea..66cb5a705 100644 --- a/archival/libarchive/unxz/xz_stream.h +++ b/archival/libarchive/unxz/xz_stream.h | |||
@@ -32,8 +32,13 @@ | |||
32 | #define FOOTER_MAGIC_SIZE 2 | 32 | #define FOOTER_MAGIC_SIZE 2 |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * Variable-length integer can hold a 63-bit unsigned integer, or a special | 35 | * Variable-length integer can hold a 63-bit unsigned integer or a special |
36 | * value to indicate that the value is unknown. | 36 | * value indicating that the value is unknown. |
37 | * | ||
38 | * Experimental: vli_type can be defined to uint32_t to save a few bytes | ||
39 | * in code size (no effect on speed). Doing so limits the uncompressed and | ||
40 | * compressed size of the file to less than 256 MiB and may also weaken | ||
41 | * error detection slightly. | ||
37 | */ | 42 | */ |
38 | typedef uint64_t vli_type; | 43 | typedef uint64_t vli_type; |
39 | 44 | ||