]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1559. [port] named should ignore SIGFSZ.
authorMark Andrews <marka@isc.org>
Wed, 3 Mar 2004 23:07:05 +0000 (23:07 +0000)
committerMark Andrews <marka@isc.org>
Wed, 3 Mar 2004 23:07:05 +0000 (23:07 +0000)
CHANGES
bin/named/unix/os.c

diff --git a/CHANGES b/CHANGES
index a87dfde97a1567c3e18a9db16579ad7bec9fbbc7..987dafb598b5f55e22d0145a7e8916876ec30302 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -36,6 +36,8 @@
 1561.  [bug]           It was possible to release the same name twice if
                        named ran out of memory. [RT #10197]
 
+1559.  [port]          named should ignore SIGFSZ.
+
 1556.  [bug]           nsupdate now treats all names as fully qualified.
                        [RT #6427]
 
index 47afade2ab7437fce7b76aa03c101d9d56f9f734..e1256333b3957bb0a0548535f23886b50fa38e07 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.46.2.6 2004/01/07 06:30:44 marka Exp $ */
+/* $Id: os.c,v 1.46.2.7 2004/03/03 23:07:05 marka Exp $ */
 
 #include <config.h>
 #include <stdarg.h>
@@ -30,6 +30,7 @@
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <signal.h>
 #include <syslog.h>
 #include <unistd.h>
 
@@ -284,6 +285,9 @@ ns_os_init(const char *progname) {
 #ifdef HAVE_LINUXTHREADS
        mainpid = getpid();
 #endif
+#ifdef SIGXFSZ
+       signal(SIGXFSZ, SIG_IGN);
+#endif
 }
 
 void