- if (verbose > 3) {
- rprintf(FINFO,"_exit_cleanup(code=%d, file=%s, line=%d): entered\n",
- code, safe_fname(file), line);
-@@ -127,8 +124,6 @@ void _exit_cleanup(int code, const char
- io_flush(FULL_FLUSH);
- if (cleanup_fname)
- do_unlink(cleanup_fname);
-- if (code)
-- kill_all(SIGUSR1);
- if (cleanup_pid && cleanup_pid == getpid()) {
- char *pidf = lp_pid_file();
- if (pidf && *pidf)
---- orig/generator.c 2005-12-16 04:03:06
-+++ generator.c 2005-12-08 23:17:08
-@@ -65,7 +65,6 @@ extern OFF_T min_size;
+ /**
+ * Close all open sockets and files, allowing a (somewhat) graceful
+ * shutdown() of socket connections. This eliminates the abortive
+@@ -98,9 +94,6 @@ NORETURN void _exit_cleanup(int code, co
+ static int exit_code = 0;
+ static int unmodified_code = 0;
+
+- SIGACTION(SIGUSR1, SIG_IGN);
+- SIGACTION(SIGUSR2, SIG_IGN);
+-
+ if (exit_code) /* Preserve first error code when recursing. */
+ code = exit_code;
+
+@@ -157,8 +150,6 @@ NORETURN void _exit_cleanup(int code, co
+
+ if (cleanup_fname)
+ do_unlink(cleanup_fname);
+- if (code)
+- kill_all(SIGUSR1);
+ if (cleanup_pid && cleanup_pid == getpid()) {
+ char *pidf = lp_pid_file();
+ if (pidf && *pidf)
+--- old/errcode.h
++++ new/errcode.h
+@@ -37,7 +37,6 @@
+ #define RERR_CRASHED 15 /* sibling crashed */
+ #define RERR_TERMINATED 16 /* sibling terminated abnormally */
+
+-#define RERR_SIGNAL1 19 /* status returned when sent SIGUSR1 */
+ #define RERR_SIGNAL 20 /* status returned when sent SIGINT, SIGTERM, SIGHUP */
+ #define RERR_WAITCHILD 21 /* some error returned by waitpid() */
+ #define RERR_MALLOC 22 /* error allocating core memory buffers */
+--- old/generator.c
++++ new/generator.c
+@@ -66,7 +66,6 @@ extern OFF_T min_size;