diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-02 11:40:29 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-05-02 11:40:29 +0300 |
commit | 3e6009a7440ea5fc3edc21bfe299288018e4e3ea (patch) | |
tree | 509f1896ff983b4473b78efd535f22418cd2bd41 /rpmqv.c | |
parent | a306a04a895a1632ad80753c61e57864f0019441 (diff) | |
download | librpm-tizen-3e6009a7440ea5fc3edc21bfe299288018e4e3ea.tar.gz librpm-tizen-3e6009a7440ea5fc3edc21bfe299288018e4e3ea.tar.bz2 librpm-tizen-3e6009a7440ea5fc3edc21bfe299288018e4e3ea.zip |
Ensure default SIGPIPE handler for --pipe (rhbz#444389)
Diffstat (limited to 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -583,6 +583,7 @@ int main(int argc, char *argv[]) (void) pipe(p); if (!(pipeChild = fork())) { + (void) signal(SIGPIPE, SIG_DFL); (void) close(p[1]); (void) dup2(p[0], STDIN_FILENO); (void) close(p[0]); |