diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 16:44:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 16:44:20 +0000 |
commit | 5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (patch) | |
tree | 36bf70fe7e6c67e4ab37c446a191272eb90097ed /archival/tar.c | |
parent | 6239b1f50a04121d96daba2cdc2f7c3765c9007b (diff) | |
download | busybox-w32-5a6aeddfa7262e41802c77f70c9ef88e9c2c2476.tar.gz busybox-w32-5a6aeddfa7262e41802c77f70c9ef88e9c2c2476.tar.bz2 busybox-w32-5a6aeddfa7262e41802c77f70c9ef88e9c2c2476.zip |
xpipe: introduce (saves ~170 bytes)
udhcp/signalpipe.c: use pipe instead of socketpair.
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 79979b05f..e634cc670 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -507,8 +507,8 @@ static int writeTarFile(const int tar_fd, const int verboseFlag, | |||
507 | volatile int vfork_exec_errno = 0; | 507 | volatile int vfork_exec_errno = 0; |
508 | const char *zip_exec = (gzip == 1) ? "gzip" : "bzip2"; | 508 | const char *zip_exec = (gzip == 1) ? "gzip" : "bzip2"; |
509 | 509 | ||
510 | if (pipe(gzipDataPipe) < 0 || pipe(gzipStatusPipe) < 0) | 510 | xpipe(gzipDataPipe); |
511 | bb_perror_msg_and_die("pipe"); | 511 | xpipe(gzipStatusPipe); |
512 | 512 | ||
513 | signal(SIGPIPE, SIG_IGN); /* we only want EPIPE on errors */ | 513 | signal(SIGPIPE, SIG_IGN); /* we only want EPIPE on errors */ |
514 | 514 | ||