summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-09 09:11:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-09 09:11:20 +0000
commitcb1464555eb711c0fd74e31aadaa9558d9b61b5d (patch)
treefc5a40e9de7b1670c4bb42858acf3470414470fe
parentf5c9eb1434178669dad371660d321cef61a1807e (diff)
Trap SIGXFSZ
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11067 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index a7ff7f47f..431ed13d9 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -230,6 +230,8 @@ void InspIRCd::SetSignals()
signal(SIGHUP, InspIRCd::SetSignal);
signal(SIGPIPE, SIG_IGN);
signal(SIGCHLD, SIG_IGN);
+ /* We want E2BIG not a signal! */
+ signal(SIGXFSZ, SIG_IGN);
#endif
signal(SIGTERM, InspIRCd::SetSignal);
}