Skip to content

Commit

Permalink
git-svn: drop redundant blocking of SIGPIPE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roman Kagan authored and Eric Wong committed Apr 24, 2012
1 parent 6ade9bd commit 8c3a534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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: $!";
}
Expand Down

0 comments on commit 8c3a534

Please sign in to comment.