summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-02-11 02:36:35 +0000
committerWayne Davison <wayned@samba.org>2006-02-11 02:36:35 +0000
commit55e54e464bc1cb852266f549da048fd6f6a7cb74 (patch)
treec388f12c277908111e0ab55375d05be7c6a30309 /main.c
parent467688dc06a72b2daddf3a822ba2b626e5428885 (diff)
downloadrsync-55e54e464bc1cb852266f549da048fd6f6a7cb74.tar.gz
We now ignore the SIGXFSZ signal (if it is defined).
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index e8b5efd3..2fa77edb 100644
--- 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