projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509792b
)
Reset the signal being handled
author
Clemens Buchacher
<drizzd@aon.at>
Sun, 25 May 2008 18:26:50 +0000
(20:26 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 25 May 2008 20:06:55 +0000
(13:06 -0700)
This did not cause any problems, because remove_lock_file_on_signal is
only registered for SIGINT.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.c
patch
|
blob
|
history
diff --git
a/lockfile.c
b/lockfile.c
index 663f18f9c40145e5ab772021e0c700e9123a4b01..b0118d0592f691d6ae9f321c6303f93d43007f6f 100644
(file)
--- a/
lockfile.c
+++ b/
lockfile.c
@@
-24,7
+24,7
@@
static void remove_lock_file(void)
static void remove_lock_file_on_signal(int signo)
{
remove_lock_file();
- signal(
SIGINT
, SIG_DFL);
+ signal(
signo
, SIG_DFL);
raise(signo);
}