projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924f93e
)
Save status so we know if to delete compressed file
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 30 Sep 2002 05:30:29 +0000
(
05:30
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 30 Sep 2002 05:30:29 +0000
(
05:30
-0000)
archival/gunzip.c
patch
|
blob
|
history
diff --git
a/archival/gunzip.c
b/archival/gunzip.c
index 6ec5c69ae084a3f6e28501c92295d22173554cac..ca7e343cc1b1207a48c5ff8f8b07e4d0bcabcad1 100644
(file)
--- a/
archival/gunzip.c
+++ b/
archival/gunzip.c
@@
-174,7
+174,8
@@
extern int gunzip_main(int argc, char **argv)
#endif
if (magic2 == 0x8b) {
check_header_gzip(src_fd);
- if (inflate(src_fd, dst_fd) != 0) {
+ status = inflate(src_fd, dst_fd);
+ if (status != 0) {
error_msg("Error inflating");
}
check_trailer_gzip(src_fd);