httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r290124 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
Date Mon, 19 Sep 2005 11:54:55 GMT
Author: jorton
Date: Mon Sep 19 04:54:52 2005
New Revision: 290124

URL: http://svn.apache.org/viewcvs?rev=290124&view=rev
Log:
* server/mpm/prefork/prefork.c: Add volatile qualifier to die_now
since it is changed by a signal handler.

Modified:
    httpd/httpd/trunk/server/mpm/prefork/prefork.c

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=290124&r1=290123&r2=290124&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Mon Sep 19 04:54:52 2005
@@ -138,7 +138,7 @@
 char tpf_server_name[INETD_SERVNAME_LENGTH+1];
 #endif /* TPF */
 
-static int die_now = 0;
+static volatile int die_now = 0;
 
 #ifdef GPROF
 /* 



Mime
View raw message