summaryrefslogtreecommitdiffstats
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 20:22:10 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 20:22:10 (EST)
commit8fdd042394b7395c13bee66afb45dd3875c60c63 (patch)
treeee7ce27b3b440710d4f0b82e6e14fe0e483eb71e /libbb/libbb.h
parent6afed21188df0c417349563621302ec85f44096f (diff)
Check the unzip child process for errors and pass the upwards. Also, avoid child from being killed by SIGPIPE.
git-svn-id: http://opkg.googlecode.com/svn/trunk@392 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 879786e..17f3c25 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -98,7 +98,7 @@ char *deb_extract(const char *package_filename, FILE *out_stream,
const char *filename, int *err);
extern int unzip(FILE *l_in_file, FILE *l_out_file);
-extern void gz_close(int gunzip_pid);
+extern int gz_close(int gunzip_pid);
extern FILE *gz_open(FILE *compressed_file, int *pid);
int make_directory (const char *path, long mode, int flags);