aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /archival/libunarchive
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.bz2
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.zip
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/get_header_tar.c2
-rw-r--r--archival/libunarchive/open_transformer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index 0be29b7ce..187552c28 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -99,7 +99,7 @@ char get_header_tar(archive_handle_t *archive_handle)
99 * "tar: A lone zero block at N", where N = kilobyte 99 * "tar: A lone zero block at N", where N = kilobyte
100 * where EOF was met (not EOF block, actual EOF!), 100 * where EOF was met (not EOF block, actual EOF!),
101 * and tar will exit with error code 0. 101 * and tar will exit with error code 0.
102 * We will mimic exit(0), although we will not mimic 102 * We will mimic exit(EXIT_SUCCESS), although we will not mimic
103 * the message and we don't check whether we indeed 103 * the message and we don't check whether we indeed
104 * saw zero block directly before this. */ 104 * saw zero block directly before this. */
105 if (i == 0) 105 if (i == 0)
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c
index 8fb860234..d0a2b7c36 100644
--- a/archival/libunarchive/open_transformer.c
+++ b/archival/libunarchive/open_transformer.c
@@ -40,7 +40,7 @@ int open_transformer(int src_fd,
40 close(fd_pipe.wr); /* Send EOF */ 40 close(fd_pipe.wr); /* Send EOF */
41 close(src_fd); 41 close(src_fd);
42 } 42 }
43 exit(0); 43 exit(EXIT_SUCCESS);
44#else 44#else
45 { 45 {
46 char *argv[4]; 46 char *argv[4];