From 8f74e9cacc1258243f0ca968f40b206221259cda Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 6 Dec 2007 17:15:41 +0000 Subject: [PATCH] ITS#5248: use volatile sig_atomic_t for signal variable gotsig --- servers/slapd/slapcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.5