From 03712dcc3e9f5e3b6dc4dd77cca4351c7e692d63 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 9 Oct 2004 04:55:41 +0000 Subject: [PATCH] Conditionally add SIGTRAP signal handler --- servers/slapd/main.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5