]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r265518-9 from trunk; explicit assignment of some global variables
authorColm MacCarthaigh <colm@apache.org>
Sun, 2 Oct 2005 20:56:56 +0000 (20:56 +0000)
committerColm MacCarthaigh <colm@apache.org>
Sun, 2 Oct 2005 20:56:56 +0000 (20:56 +0000)
to zero. These should not be neccessary, but help us get around a gcc
(on ia64 at least) optimisation bug. They are harmless anyway.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@293164 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/event.c
server/mpm/experimental/leader/leader.c
server/mpm/experimental/threadpool/threadpool.c
server/mpm/prefork/prefork.c
server/mpm/worker/worker.c

index 00ed6501e9296d72b956f193851367f7a4ff5681..3bcdda2023de631358673bb7e967cc0d79ffd65b 100644 (file)
@@ -146,9 +146,9 @@ static int min_spare_threads = 0;
 static int max_spare_threads = 0;
 static int ap_daemons_limit = 0;
 static int server_limit = DEFAULT_SERVER_LIMIT;
-static int first_server_limit;
+static int first_server_limit = 0;
 static int thread_limit = DEFAULT_THREAD_LIMIT;
-static int first_thread_limit;
+static int first_thread_limit = 0;
 static int changed_limit_at_restart;
 static int dying = 0;
 static int workers_may_exit = 0;
index fb21911889b38b34144bc7af5ca1863509c674ee..f9d6a2c32bfcb21568b84ca6ed8c6e2dc6bff94b 100644 (file)
@@ -114,9 +114,9 @@ static int min_spare_threads = 0;
 static int max_spare_threads = 0;
 static int ap_daemons_limit = 0;
 static int server_limit = DEFAULT_SERVER_LIMIT;
-static int first_server_limit;
+static int first_server_limit = 0;
 static int thread_limit = DEFAULT_THREAD_LIMIT;
-static int first_thread_limit;
+static int first_thread_limit = 0;
 static int changed_limit_at_restart;
 static int dying = 0;
 static int workers_may_exit = 0;
index 1b6031dc7e2cc4b6d04a03df91cd33d8f9e74780..7c9281bf6ef9ee2620da97b5a2fbf7bc16353011 100644 (file)
@@ -120,9 +120,9 @@ static int min_spare_threads = 0;
 static int max_spare_threads = 0;
 static int ap_daemons_limit = 0;
 static int server_limit = DEFAULT_SERVER_LIMIT;
-static int first_server_limit;
+static int first_server_limit = 0;
 static int thread_limit = DEFAULT_THREAD_LIMIT;
-static int first_thread_limit;
+static int first_thread_limit = 0;
 static int changed_limit_at_restart;
 static int dying = 0;
 static int workers_may_exit = 0;
index 2a59800c8e2c3997cf8771229a4013b1b2de0c51..626be419af974ee82c0f173a203913b91732c2ff 100644 (file)
@@ -97,7 +97,7 @@ static int ap_daemons_min_free=0;
 static int ap_daemons_max_free=0;
 static int ap_daemons_limit=0;      /* MaxClients */
 static int server_limit = DEFAULT_SERVER_LIMIT;
-static int first_server_limit;
+static int first_server_limit = 0;
 static int changed_limit_at_restart;
 static int mpm_state = AP_MPMQ_STARTING;
 static ap_pod_t *pod;
index 60e373696ff93b98121a5bcec2aca64658091a28..53db4b24f20e01bd79cd3ecb884e0678ec3f48fa 100644 (file)
@@ -120,9 +120,9 @@ static int min_spare_threads = 0;
 static int max_spare_threads = 0;
 static int ap_daemons_limit = 0;
 static int server_limit = DEFAULT_SERVER_LIMIT;
-static int first_server_limit;
+static int first_server_limit = 0;
 static int thread_limit = DEFAULT_THREAD_LIMIT;
-static int first_thread_limit;
+static int first_thread_limit = 0;
 static int changed_limit_at_restart;
 static int dying = 0;
 static int workers_may_exit = 0;