summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorPascal Bellard2009-08-28 06:20:33 +0200
committerDenys Vlasenko2009-08-28 06:20:33 +0200
commit7f2149489fe62373a13792d3de6c33c39725c76c (patch)
tree6717379b1a1df8790168543250623ae0d961d88e /libbb
parentb34759251d0140d9d4b7a8143b2ba217ce773523 (diff)
downloadbusybox-7f2149489fe62373a13792d3de6c33c39725c76c.zip
busybox-7f2149489fe62373a13792d3de6c33c39725c76c.tar.gz
rpm2cpio: handle bz2 too; code shrink
function old new delta skip_header 142 99 -43 rpm2cpio_main 321 183 -138 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-181) Total: -181 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/read.c b/libbb/read.c
index b58982b..b93a695 100644
--- a/libbb/read.c
+++ b/libbb/read.c
@@ -336,7 +336,7 @@ int FAST_FUNC open_zipped(const char *fname)
|| (ENABLE_FEATURE_SEAMLESS_BZ2 && strcmp(sfx, ".bz2") == 0)
) {
/* .gz and .bz2 both have 2-byte signature, and their
- * unpack_XXX_stream want this header skipped. */
+ * unpack_XXX_stream wants this header skipped. */
xread(fd, &magic, 2);
#if ENABLE_FEATURE_SEAMLESS_GZ
#if BB_MMU