diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-17 16:13:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-17 16:13:32 +0200 |
commit | 10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch) | |
tree | 82312d6f38a517dcc7c0004f78d76c667f5a674b /archival/libarchive | |
parent | d85352b4ff51694cb35b429e4cef53302c9e7076 (diff) | |
download | busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2 busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip |
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive')
-rw-r--r-- | archival/libarchive/decompress_bunzip2.c | 2 | ||||
-rw-r--r-- | archival/libarchive/unxz/xz_dec_lzma2.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/libarchive/decompress_bunzip2.c b/archival/libarchive/decompress_bunzip2.c index 4fb989c29..803702f75 100644 --- a/archival/libarchive/decompress_bunzip2.c +++ b/archival/libarchive/decompress_bunzip2.c | |||
@@ -308,7 +308,7 @@ static int get_next_block(bunzip_data *bd) | |||
308 | base = hufGroup->base - 1; | 308 | base = hufGroup->base - 1; |
309 | limit = hufGroup->limit - 1; | 309 | limit = hufGroup->limit - 1; |
310 | 310 | ||
311 | /* Calculate permute[]. Concurently, initialize temp[] and limit[]. */ | 311 | /* Calculate permute[]. Concurrently, initialize temp[] and limit[]. */ |
312 | pp = 0; | 312 | pp = 0; |
313 | for (i = minLen; i <= maxLen; i++) { | 313 | for (i = minLen; i <= maxLen; i++) { |
314 | int k; | 314 | int k; |
diff --git a/archival/libarchive/unxz/xz_dec_lzma2.c b/archival/libarchive/unxz/xz_dec_lzma2.c index 351251f7c..bca41e705 100644 --- a/archival/libarchive/unxz/xz_dec_lzma2.c +++ b/archival/libarchive/unxz/xz_dec_lzma2.c | |||
@@ -486,11 +486,11 @@ static __always_inline void XZ_FUNC rc_normalize(struct rc_dec *rc) | |||
486 | } | 486 | } |
487 | 487 | ||
488 | /* | 488 | /* |
489 | * Decode one bit. In some versions, this function has been splitted in three | 489 | * Decode one bit. In some versions, this function has been split in three |
490 | * functions so that the compiler is supposed to be able to more easily avoid | 490 | * functions so that the compiler is supposed to be able to more easily avoid |
491 | * an extra branch. In this particular version of the LZMA decoder, this | 491 | * an extra branch. In this particular version of the LZMA decoder, this |
492 | * doesn't seem to be a good idea (tested with GCC 3.3.6, 3.4.6, and 4.3.3 | 492 | * doesn't seem to be a good idea (tested with GCC 3.3.6, 3.4.6, and 4.3.3 |
493 | * on x86). Using a non-splitted version results in nicer looking code too. | 493 | * on x86). Using a non-split version results in nicer looking code too. |
494 | * | 494 | * |
495 | * NOTE: This must return an int. Do not make it return a bool or the speed | 495 | * NOTE: This must return an int. Do not make it return a bool or the speed |
496 | * of the code generated by GCC 3.x decreases 10-15 %. (GCC 4.3 doesn't care, | 496 | * of the code generated by GCC 3.x decreases 10-15 %. (GCC 4.3 doesn't care, |