summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-23 13:06:24 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-23 13:06:24 +0000
commit660e2e9e8adabebb9a017ce113421a44f2c965fb (patch)
tree50ae49bd37138ab4948b1803d9dd9fe2fa6730b6 /src/init.c
parentc14bdc3d690a9d912239d6412fa7c269c4fe2c31 (diff)
# BUILD : 1.7.13 (1019) # BUGS 390 : # NOTES : fixed some obsolete defines. hopefully :P
git-svn-id: svn://svn.anope.org/anope/trunk@1019 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@744 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/init.c b/src/init.c
index 8cc49749f..14f8db1a0 100644
--- a/src/init.c
+++ b/src/init.c
@@ -522,14 +522,11 @@ int init_secondary(int ac, char **av)
* panic as necessary, and ignore all others.
*/
-#if defined(NSIG) && !defined(LINUX20) && !defined(LINUX22)
+#if defined(NSIG)
for (i = 1; i <= NSIG - 1; i++) {
#else
for (i = 1; i <= 31; i++) {
#endif
-#if defined(USE_THREADS) && defined(LINUX20)
- if (i != SIGUSR1)
-#endif
signal(i, SIG_IGN);
}
@@ -570,11 +567,9 @@ int init_secondary(int ac, char **av)
#endif
signal(SIGFPE, sighandler);
-#if !defined(USE_THREADS) || !defined(LINUX20)
#ifndef _WIN32
signal(SIGUSR1, sighandler); /* This is our "out-of-memory" panic switch */
#endif
-#endif
/* Initialize multi-language support */
lang_init();