]> git.sur5r.net Git - openldap/commitdiff
ITS#5248: use volatile sig_atomic_t for signal variable gotsig
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 6 Dec 2007 17:15:41 +0000 (17:15 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 6 Dec 2007 17:15:41 +0000 (17:15 +0000)
servers/slapd/slapcat.c

index 73732963fc72d78d5595fbc98378a276ed99f313..1d09ee513ed433df69bf0c1f2efb13d7a99b9084 100644 (file)
@@ -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 )