git-svn: drop redundant blocking of SIGPIPE
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>
This commit is contained in:
parent
6ade9bdada
commit
8c3a534c50
@ -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: $!";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user