From 8fdd042394b7395c13bee66afb45dd3875c60c63 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 26 Nov 2009 20:22:10 -0500 Subject: 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 --- (limited to 'libbb/libbb.h') 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); -- cgit v0.9.1