git-svn: drop redundant blocking of SIGPIPE
authorRoman Kagan <rkagan@mail.ru>
Mon, 23 Apr 2012 16:26:56 +0000 (20:26 +0400)
committerEric Wong <normalperson@yhbt.net>
Tue, 24 Apr 2012 09:42:08 +0000 (09:42 +0000)
Now that SIGPIPE is ignored there's no point blocking it.

Signed-off-by: Roman Kagan <rkagan@mail.ru>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index aa14564e337adfd7646bc61692c4c4734d8dbfdd..f8e9ef0ea622ac52ab96eab435bc2a65bd70aba0 100755 (executable)
@@ -4070,7 +4070,7 @@ sub rev_map_set {
        if ($update_ref) {
                $sigmask = POSIX::SigSet->new();
                my $signew = POSIX::SigSet->new(SIGINT, SIGHUP, SIGTERM,
-                       SIGALRM, SIGPIPE, SIGUSR1, SIGUSR2);
+                       SIGALRM, SIGUSR1, SIGUSR2);
                sigprocmask(SIG_BLOCK, $signew, $sigmask) or
                        croak "Can't block signals: $!";
        }