projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ade9bd
)
git-svn: drop redundant blocking of SIGPIPE
author
Roman Kagan
<rkagan@mail.ru>
Mon, 23 Apr 2012 16:26:56 +0000
(20:26 +0400)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/git-svn.perl
b/git-svn.perl
index aa14564e337adfd7646bc61692c4c4734d8dbfdd..f8e9ef0ea622ac52ab96eab435bc2a65bd70aba0 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-4070,7
+4070,7
@@
sub rev_map_set {
if ($update_ref) {
$sigmask = POSIX::SigSet->new();
my $signew = POSIX::SigSet->new(SIGINT, SIGHUP, SIGTERM,
- SIGALRM, SIG
PIPE, SIG
USR1, SIGUSR2);
+ SIGALRM, SIGUSR1, SIGUSR2);
sigprocmask(SIG_BLOCK, $signew, $sigmask) or
croak "Can't block signals: $!";
}