diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-28 23:08:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-28 23:08:53 +0200 |
commit | caddfc83399ab783f032dbe23f3b10a5bd85414f (patch) | |
tree | 91dc667eaafc3846f4c7089d7393f47821df641d /miscutils | |
parent | 8410ac1a073272affe8acdb0da67e5753ea051f8 (diff) | |
download | busybox-w32-caddfc83399ab783f032dbe23f3b10a5bd85414f.tar.gz busybox-w32-caddfc83399ab783f032dbe23f3b10a5bd85414f.tar.bz2 busybox-w32-caddfc83399ab783f032dbe23f3b10a5bd85414f.zip |
decompress_bunzip2: handle concatenated .bz2 files
function old new delta
unpack_bz2_stream 207 307 +100
start_bunzip 199 209 +10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/bbconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bbconfig.c b/miscutils/bbconfig.c index 286077168..1cb42edeb 100644 --- a/miscutils/bbconfig.c +++ b/miscutils/bbconfig.c | |||
@@ -15,7 +15,7 @@ int bbconfig_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
15 | bunzip_data *bd; | 15 | bunzip_data *bd; |
16 | int i = start_bunzip(&bd, | 16 | int i = start_bunzip(&bd, |
17 | /* src_fd: */ -1, | 17 | /* src_fd: */ -1, |
18 | /* inbuf: */ (void *)bbconfig_config_bz2, | 18 | /* inbuf: */ bbconfig_config_bz2, |
19 | /* len: */ sizeof(bbconfig_config_bz2)); | 19 | /* len: */ sizeof(bbconfig_config_bz2)); |
20 | /* read_bunzip can longjmp to start_bunzip, and ultimately | 20 | /* read_bunzip can longjmp to start_bunzip, and ultimately |
21 | * end up here with i != 0 on read data errors! Not trivial */ | 21 | * end up here with i != 0 on read data errors! Not trivial */ |