index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-10-12 23:05:36 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-20 22:25:39 -0500 |
commit | 2c2596177d88a60cbef8154927f847ca214aadd0 (patch) | |
tree | 6fc2e541d6a5980148054720a9bb72e9f7da8b38 /lib/libalpm | |
parent | 3d67d9b16c53fe70c1b7149b5a6bfbbf17522ba3 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 1 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 4989d4ac..a4c9f1f4 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -147,6 +147,7 @@ static int download_internal(const char *url, const char *localpath, * something along those lines. Store the old signal handler first. */ new_action.sa_handler = SIG_IGN; sigemptyset(&new_action.sa_mask); + new_action.sa_flags = 0; sigaction(SIGPIPE, NULL, &old_action); sigaction(SIGPIPE, &new_action, NULL); |