mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 15:48:22 -04:00
Doc rsync_panic_handler()
This commit is contained in:
1 parent
734a94a20c
commit
9fb3f7a9ab
1 file changed
+8
@@ -827,6 +827,14 @@ const char *get_panic_action(void)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Handle a fatal signal by launching a debugger, controlled by $RSYNC_PANIC_ACTION.
|
||||
*
|
||||
* This signal handler is only installed if we were configured with
|
||||
* --enable-maintainer-mode. Perhaps it should always be on and we
|
||||
* should just look at the environment variable, but I'm a bit leery
|
||||
* of a signal sending us into a busy loop.
|
||||
**/
|
||||
static RETSIGTYPE rsync_panic_handler(int UNUSED(whatsig))
|
||||
{
|
||||
char cmd_buf[300];
|
||||
|
||||
Reference in new issue
Block a user