From: Kurt Zeilenga Date: Sat, 9 Oct 2004 04:55:41 +0000 (+0000) Subject: Conditionally add SIGTRAP signal handler X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~438 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=03712dcc3e9f5e3b6dc4dd77cca4351c7e692d63;p=openldap Conditionally add SIGTRAP signal handler --- diff --git a/servers/slapd/main.c b/servers/slapd/main.c index db8403c843..2e2dc924d2 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -704,7 +704,9 @@ unhandled_option:; #endif (void) SIGNAL( SIGINT, slap_sig_shutdown ); (void) SIGNAL( SIGTERM, slap_sig_shutdown ); +#ifdef SIGTRAP (void) SIGNAL( SIGTRAP, slap_sig_shutdown ); +#endif #ifdef LDAP_SIGCHLD (void) SIGNAL( LDAP_SIGCHLD, wait4child ); #endif