summaryrefslogtreecommitdiff
path: root/include/bb_archive.h
diff options
context:
space:
mode:
authorDenys Vlasenko2012-03-06 16:33:42 +0100
committerDenys Vlasenko2012-03-06 16:33:42 +0100
commitfaac1d3e6e87dc6882e69b62f1c71907d892c876 (patch)
treec9feb257a4d47e71a5555360b0978e22c9e37dbf /include/bb_archive.h
parent02c3c3842004d88207b46450dbd19f80e6596c7e (diff)
downloadbusybox-faac1d3e6e87dc6882e69b62f1c71907d892c876.zip
busybox-faac1d3e6e87dc6882e69b62f1c71907d892c876.tar.gz
tar,rpm2cpio: check that child decompressor did not error out
function old new delta check_errors_in_children - 57 +57 tar_main 833 848 +15 get_header_tar 1720 1733 +13 rpm2cpio_main 147 140 -7 handle_SIGCHLD 41 - -41 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 85/-48) Total: 37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/bb_archive.h')
-rw-r--r--include/bb_archive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h
index bd08115..2043d85 100644
--- a/include/bb_archive.h
+++ b/include/bb_archive.h
@@ -224,6 +224,7 @@ int bbunpack(char **argv,
const char *expected_ext
) FAST_FUNC;
+void check_errors_in_children(int signo);
#if BB_MMU
void open_transformer(int fd,
int check_signature,