We now ignore the SIGXFSZ signal (if it is defined).
authorWayne Davison <wayned@samba.org>
Sat, 11 Feb 2006 02:36:35 +0000 (02:36 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 11 Feb 2006 02:36:35 +0000 (02:36 +0000)
main.c

diff --git a/main.c b/main.c
index e8b5efd..2fa77ed 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1229,6 +1229,9 @@ int main(int argc,char *argv[])
        /* Ignore SIGPIPE; we consistently check error codes and will
         * see the EPIPE. */
        SIGACTION(SIGPIPE, SIG_IGN);
+#ifdef SIGXFSZ
+       SIGACTION(SIGXFSZ, SIG_IGN);
+#endif
 
        /* Initialize push_dir here because on some old systems getcwd
         * (implemented by forking "pwd" and reading its output) doesn't