From: Hallvard Furuseth Date: Thu, 6 Dec 2007 17:15:41 +0000 (+0000) Subject: ITS#5248: use volatile sig_atomic_t for signal variable gotsig X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~340 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f74e9cacc1258243f0ca968f40b206221259cda;p=openldap ITS#5248: use volatile sig_atomic_t for signal variable gotsig --- diff --git a/servers/slapd/slapcat.c b/servers/slapd/slapcat.c index 73732963fc..1d09ee513e 100644 --- a/servers/slapd/slapcat.c +++ b/servers/slapd/slapcat.c @@ -32,7 +32,7 @@ #include "slapcommon.h" #include "ldif.h" -static int gotsig; +static volatile sig_atomic_t gotsig; static RETSIGTYPE slapcat_sig( int sig )