projects
/
tilda-gobject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6820cc2
)
Don't try to catch SIGKILL
author
Ira W. Snyder
<devel@irasnyder.com>
Wed, 23 Jan 2008 07:53:26 +0000
(23:53 -0800)
committer
Ira W. Snyder
<devel@irasnyder.com>
Wed, 23 Jan 2008 07:53:26 +0000
(23:53 -0800)
It is impossible to catch SIGKILL, so don't even bother trying...
tilda.c
patch
|
blob
|
history
diff --git
a/tilda.c
b/tilda.c
index
25209fc
..
02b6848
100644
(file)
--- a/
tilda.c
+++ b/
tilda.c
@@
-203,7
+203,9
@@
tilda_signal_handlers_init ()
sigaction (SIGQUIT, &sa, NULL);
sigaction (SIGABRT, &sa, NULL);
sigaction (SIGTERM, &sa, NULL);
- sigaction (SIGKILL, &sa, NULL);
+
+ /* SIGKILL cannot be caught according to sigaction(2) and signal(7) */
+ /* sigaction (SIGKILL, &sa, NULL); */
}
int main (int argc, char *argv[])