git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fatal-signal: Fix bug in call_hooks() recursion detection.
[sliver-openvswitch.git]
/
lib
/
fatal-signal.c
diff --git
a/lib/fatal-signal.c
b/lib/fatal-signal.c
index
ac9e2a5
..
35a37bf
100644
(file)
--- a/
lib/fatal-signal.c
+++ b/
lib/fatal-signal.c
@@
-167,7
+167,7
@@
atexit_handler(void)
static void
call_hooks(int sig_nr)
{
- volatile sig_atomic_t recurse = 0;
+
static
volatile sig_atomic_t recurse = 0;
if (!recurse) {
size_t i;