projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move code from signal handlers into mainloop, avoiding a race
[l2tpns.git]
/
util.c
diff --git
a/util.c
b/util.c
index
2e438fe
..
dee81f5
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1,6
+1,6
@@
/* Misc util functions */
/* Misc util functions */
-char const *cvs_id_util = "$Id: util.c,v 1.1
2 2005/06/28 14:48:28
bodea Exp $";
+char const *cvs_id_util = "$Id: util.c,v 1.1
3 2005/09/19 00:29:12
bodea Exp $";
#include <unistd.h>
#include <errno.h>
#include <unistd.h>
#include <errno.h>
@@
-69,7
+69,6
@@
pid_t fork_and_close()
signal(SIGUSR1, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
signal(SIGKILL, SIG_DFL);
signal(SIGUSR1, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
signal(SIGKILL, SIG_DFL);
- signal(SIGALRM, SIG_DFL);
signal(SIGTERM, SIG_DFL);
// Close sockets
signal(SIGTERM, SIG_DFL);
// Close sockets