search for: rsync_panic_handler2

Displaying 1 result from an estimated 1 matches for "rsync_panic_handler2".

Did you mean: rsync_panic_handler
2006 Feb 13
1
rsync SIGSEGV signal handler in Cygwin.
...tedly died with signal %d\n", + 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); +#els...