diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 20:44:20 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 20:44:20 +0400 |
commit | 5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (patch) | |
tree | 36bf70fe7e6c67e4ab37c446a191272eb90097ed /archival/libunarchive/open_transformer.c | |
parent | 6239b1f50a04121d96daba2cdc2f7c3765c9007b (diff) |
xpipe: introduce (saves ~170 bytes)
udhcp/signalpipe.c: use pipe instead of socketpair.
Diffstat (limited to 'archival/libunarchive/open_transformer.c')
-rw-r--r-- | archival/libunarchive/open_transformer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c index 456d3e986..58a89b918 100644 --- a/archival/libunarchive/open_transformer.c +++ b/archival/libunarchive/open_transformer.c @@ -17,9 +17,7 @@ int open_transformer(int src_fd, int fd_pipe[2]; int pid; - if (pipe(fd_pipe) != 0) { - bb_perror_msg_and_die("can't create pipe"); - } + xpipe(fd_pipe); pid = fork(); if (pid == -1) { |