Displaying 1 result from an estimated 1 matches for "whatsig".
Did you mean:
whatsit
2006 Feb 13
1
rsync SIGSEGV signal handler in Cygwin.
...;,
+ WTERMSIG(status));
+ else if (WIFEXITED(status) && WEXITSTATUS(status) == RERR_CRASH)
+ rprintf(FLOG,
+ "rsync error: (1) *** Child proccess has crashed. :-( ***\n");
}
#endif
}
@@ -1070,6 +1085,12 @@
}
#endif
+static RETSIGTYPE rsync_panic_handler2(UNUSED(int whatsig))
+{
+ log_exit(RERR_CRASH, "main.c", -1);
+ logfile_close();
+ _exit(RERR_CRASH);
+}
int main(int argc,char *argv[])
{
@@ -1085,6 +1106,11 @@
signal(SIGFPE, rsync_panic_handler);
signal(SIGABRT, rsync_panic_handler);
signal(SIGBUS, rsync_panic_handler);
+#else /* !def MAINTAIN...