aboutsummaryrefslogtreecommitdiffstats
path: root/cleanup.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-30 00:50:19 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-30 00:50:19 +0000
commit8b35435f7cc4708400c652434615ce48dc493de4 (patch)
treed3121ff91e653ce508e416f7e6dc1069fe4bbf30 /cleanup.c
parent8ada7518907e7606a28baac85840a5c56a010c5e (diff)
downloadandroid_external_rsync-8b35435f7cc4708400c652434615ce48dc493de4.tar.gz
android_external_rsync-8b35435f7cc4708400c652434615ce48dc493de4.tar.bz2
android_external_rsync-8b35435f7cc4708400c652434615ce48dc493de4.zip
another hang-at-end fix. It looks like we are more sensiitive to
these with socketpairs. The receiver now sleeps until it gets a signal to tell it to exit also fixed test.sh to use the current version remotely
Diffstat (limited to 'cleanup.c')
-rw-r--r--cleanup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cleanup.c b/cleanup.c
index b4ac82ad..c828d73c 100644
--- a/cleanup.c
+++ b/cleanup.c
@@ -39,6 +39,7 @@ void _exit_cleanup(int code, const char *file, int line)
if (code == 0 && io_error) code = RERR_FILEIO;
signal(SIGUSR1, SIG_IGN);
+ signal(SIGUSR2, SIG_IGN);
if (cleanup_got_literal && cleanup_fname && keep_partial) {
char *fname = cleanup_fname;