diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-28 16:50:46 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-28 16:50:46 +0000 |
commit | 4e828d3260181809d9392b6b7dd47ed3b1d35d38 (patch) | |
tree | c30a6462f504c437d35675f0f37ddfe0c96c5fc1 /src/init.c | |
parent | ddbaca79dfb7ed690c4603dc9266d7863647de25 (diff) |
BUILD : 1.7.14 (1078) BUGS : 527 NOTES : Applied path from heinz for... 1) fixes bug 527 2) adds mod version to windows stuff 3) fixes some ugly indentation in install.js 4) cleans up manifest files on spotless
git-svn-id: svn://svn.anope.org/anope/trunk@1078 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@802 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r-- | src/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c index 1d0f85c91..e83cab176 100644 --- a/src/init.c +++ b/src/init.c @@ -529,6 +529,7 @@ int init_secondary(int ac, char **av) * panic as necessary, and ignore all others. */ +#ifndef _WIN32 #if defined(NSIG) for (i = 1; i <= NSIG - 1; i++) { #else @@ -536,6 +537,12 @@ int init_secondary(int ac, char **av) #endif signal(i, SIG_IGN); } +#else + /* work around to bug #527 */ + signal(SIGILL, SIG_IGN); + signal(SIGBREAK, SIG_IGN); + signal(SIGABRT, SIG_IGN); +#endif signal(SIGINT, sighandler); signal(SIGTERM, sighandler); |