diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-02 00:23:12 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-02 00:23:12 +0000 |
commit | 251d4c84f696eae58f45e091b3a5f8bb1f20cf00 (patch) | |
tree | fb05b90bcae16dea2d8196f9e101b1632e2d3346 /isys/gzlib | |
parent | 258dceb2feea2716d996757f7c8d9594391663c4 (diff) | |
download | anaconda-251d4c84f696eae58f45e091b3a5f8bb1f20cf00.tar.gz anaconda-251d4c84f696eae58f45e091b3a5f8bb1f20cf00.tar.xz anaconda-251d4c84f696eae58f45e091b3a5f8bb1f20cf00.zip |
don't just throw away pipe's return val. throw it away in a variable!
Diffstat (limited to 'isys/gzlib')
-rw-r--r-- | isys/gzlib/binding.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isys/gzlib/binding.c b/isys/gzlib/binding.c index ecc190f42..f3871f11d 100644 --- a/isys/gzlib/binding.c +++ b/isys/gzlib/binding.c @@ -18,8 +18,9 @@ gzFile gunzip_dopen(int fd) { void * oldsig; pid_t child; gzFile str; + int ret; - pipe(p); + ret = pipe(p); oldsig = signal(SIGCLD, SIG_DFL); @@ -65,8 +66,9 @@ gzFile gzip_dopen(int fd) { void * oldsig; pid_t child; gzFile str; + int ret; - pipe(p); + ret = pipe(p); oldsig = signal(SIGCLD, SIG_IGN); |