]> granicus.if.org Git - apache/commitdiff
* server/mpm/prefork/prefork.c: Add volatile qualifier to die_now
authorJoe Orton <jorton@apache.org>
Mon, 19 Sep 2005 11:54:52 +0000 (11:54 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 19 Sep 2005 11:54:52 +0000 (11:54 +0000)
since it is changed by a signal handler.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290124 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 12e7509bb6b4247a041c6d2f2ec315ae1e32ea3d..bb47ad18430aa65fa36074c725e9f295bfcc774e 100644 (file)
@@ -138,7 +138,7 @@ int tpf_child = 0;
 char tpf_server_name[INETD_SERVNAME_LENGTH+1];
 #endif /* TPF */
 
-static int die_now = 0;
+static volatile int die_now = 0;
 
 #ifdef GPROF
 /*