]> granicus.if.org Git - apache/commitdiff
Remove commas from the end of the macros that define
authorRyan Bloom <rbb@apache.org>
Tue, 13 Nov 2001 06:04:25 +0000 (06:04 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 13 Nov 2001 06:04:25 +0000 (06:04 +0000)
directives that are used by MPMs.  Previous to this patch,
you would use these macros without commans, which was unlike
any other directives. Now, after the macro, you must have
a comma.  This makes the macros look more like the rest of the
directives.

I know this is cosmetic, and I was going to leave it alone, but when
I found out that it bothered Cliff too, I decided to fix it after all.

Submitted by: Ryan Bloom and Cliff Woolley

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

14 files changed:
CHANGES
include/ap_listen.h
os/beos/beosd.h
os/unix/unixd.h
server/mpm/beos/beos.c
server/mpm/experimental/perchild/perchild.c
server/mpm/mpmt_os2/mpmt_os2.c
server/mpm/netware/mpm_netware.c
server/mpm/perchild/perchild.c
server/mpm/prefork/prefork.c
server/mpm/spmt_os2/spmt_os2.c
server/mpm/threaded/threaded.c
server/mpm/winnt/mpm_winnt.c
server/mpm/worker/worker.c

diff --git a/CHANGES b/CHANGES
index 4c25e9467a14c39dd76a504064050e2883565429..5da854c97f0fe97eed98d83cc66753c6ba23dd26 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,12 @@
 Changes with Apache 2.0.29-dev
 
+  *) Remove commas from the end of the macros that define
+     directives that are used by MPMs.  Previous to this patch,
+     you would use these macros without commans, which was unlike
+     any other directives. Now, after the macro, you must have
+     a comma.  This makes the macros look more like the rest of the
+     directives.  [Ryan Bloom and Cliff Woolley]
+
   *) Add 'redirect-carefully' environment option to disable sending
      redirects under special circumstances.  This is helpful for 
      Microsoft's WebFolders when accessing a directory resource via
index fa9318f3d841ec7d8f0af0e0ed768c59a8b27cb4..278e84e530d8e12ffe6ba422e4eee0f97501a7de 100644 (file)
@@ -143,6 +143,6 @@ AP_INIT_TAKE1("ListenBacklog", ap_set_listenbacklog, NULL, RSRC_CONF, \
 AP_INIT_TAKE1("Listen", ap_set_listener, NULL, RSRC_CONF, \
   "A port number or a numeric IP address and a port number"), \
 AP_INIT_TAKE1("SendBufferSize", ap_set_send_buffer_size, NULL, RSRC_CONF, \
-  "Send buffer size in bytes"),
+  "Send buffer size in bytes")
 
 #endif
index f30b3247a9a8f6368ab35691f6bfc0a5021c88a0..dc64cffdef088ecf3454de7f4b69e5b19ac5c3ef 100644 (file)
@@ -92,6 +92,6 @@ AP_DECLARE(const char *) beosd_set_group(cmd_parms *cmd, void *dummy,
 AP_INIT_TAKE1("User", beosd_set_user, NULL, RSRC_CONF, \
   "Effective user id for this server (NO-OP)"), \
 AP_INIT_TAKE1("Group", beosd_set_group, NULL, RSRC_CONF, \
-  "Effective group id for this server (NO-OP)"),                  
+  "Effective group id for this server (NO-OP)")
 
 #endif /* BEOSD_H */
index 434013a7486f2e4f5a770ff4540c004eba6f3559..35adbc147e57b07ae1d728c8320214511863e089 100644 (file)
@@ -131,6 +131,6 @@ AP_DECLARE(apr_status_t) unixd_set_proc_mutex_perms(apr_proc_mutex_t *pmutex);
 AP_INIT_TAKE1("User", unixd_set_user, NULL, RSRC_CONF, \
   "Effective user id for this server"), \
 AP_INIT_TAKE1("Group", unixd_set_group, NULL, RSRC_CONF, \
-  "Effective group id for this server"),
+  "Effective group id for this server")
 
 #endif
index 1d395a9582a94b9d25e61adeadcabff47911796b..303024068461ecd7536b182b633ace4df0073740 100644 (file)
@@ -1087,8 +1087,8 @@ static const char *set_threads_per_child (cmd_parms *cmd, void *dummy, const cha
 }
 
 static const command_rec beos_cmds[] = {
-BEOS_DAEMON_COMMANDS
-LISTEN_COMMANDS
+BEOS_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF,
   "Number of child processes launched at server startup"),
 AP_INIT_TAKE1( "MinSpareThreads", set_min_spare_threads, NULL, RSRC_CONF,
index 9512227105a561f9879830ff6f29e2b6606aafea..cd3aeb4a7bbb73e8d7af596d69758c095dc88100 100644 (file)
@@ -1740,8 +1740,8 @@ static const char *assign_childuid(cmd_parms *cmd, void *dummy, const char *uid,
 }
 
 static const command_rec perchild_cmds[] = {
-UNIX_DAEMON_COMMANDS
-LISTEN_COMMANDS
+UNIX_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("NumServers", set_num_daemons, NULL, RSRC_CONF,
               "Number of children alive at the same time"),
 AP_INIT_TAKE1("StartThreads", set_threads_to_start, NULL, RSRC_CONF,
index 04d95fdfc483368d3804aabda32d8d85d932a74e..7d04a104fcc4c83d9a1a912aa08fca6755295a41 100644 (file)
@@ -561,7 +561,7 @@ static const char *set_max_spare_threads(cmd_parms *cmd, void *dummy,
 
 
 static const command_rec mpmt_os2_cmds[] = {
-LISTEN_COMMANDS
+LISTEN_COMMANDS,
 AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF, 
   "Number of child processes launched at server startup" ),
 AP_INIT_TAKE1("MinSpareThreads", set_min_spare_threads, NULL, RSRC_CONF,
index e085887860249c4e56ecab338d43baf96a0a0964..c8219587d1bb44df687741fb6fb2dbf602ee2267 100644 (file)
@@ -1124,7 +1124,7 @@ static const char *set_thread_stacksize(cmd_parms *cmd, void *dummy,
 static const command_rec netware_mpm_cmds[] = {
 AP_INIT_TAKE1("ThreadStackSize", set_thread_stacksize, NULL, RSRC_CONF,
               "Stack size each created thread will use."),
-LISTEN_COMMANDS
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("StartThreads", set_threads_to_start, NULL, RSRC_CONF,
               "Number of worker threads launched at server startup"),
 AP_INIT_TAKE1("MinSpareThreads", set_min_free_threads, NULL, RSRC_CONF,
index 9512227105a561f9879830ff6f29e2b6606aafea..cd3aeb4a7bbb73e8d7af596d69758c095dc88100 100644 (file)
@@ -1740,8 +1740,8 @@ static const char *assign_childuid(cmd_parms *cmd, void *dummy, const char *uid,
 }
 
 static const command_rec perchild_cmds[] = {
-UNIX_DAEMON_COMMANDS
-LISTEN_COMMANDS
+UNIX_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("NumServers", set_num_daemons, NULL, RSRC_CONF,
               "Number of children alive at the same time"),
 AP_INIT_TAKE1("StartThreads", set_threads_to_start, NULL, RSRC_CONF,
index d511a9ea362eb196fd27315b60b8e9c6d62d775e..913c61f025d74a6dd555d73cee27cf5e89315dbf 100644 (file)
@@ -1378,8 +1378,8 @@ static const char *set_server_limit (cmd_parms *cmd, void *dummy, const char *ar
 }
 
 static const command_rec prefork_cmds[] = {
-UNIX_DAEMON_COMMANDS
-LISTEN_COMMANDS
+UNIX_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("StartServers", set_daemons_to_start, NULL, RSRC_CONF,
               "Number of child processes launched at server startup"),
 AP_INIT_TAKE1("MinSpareServers", set_min_free_servers, NULL, RSRC_CONF,
index 34a7c70f3877b6dc3b4955a965a44e6c90d42b87..104a0a86ba5fd3a503e9ab752e001d58e31891d4 100644 (file)
@@ -1256,7 +1256,7 @@ AP_DECLARE(void) ap_reset_connection_status(long conn_id)
 }
 
 static const command_rec spmt_os2_cmds[] = {
-LISTEN_COMMANDS
+LISTEN_COMMANDS,
 AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF, 
   "Number of child processes launched at server startup" ),
 AP_INIT_TAKE1( "MinSpareServers", set_min_free_servers, NULL, RSRC_CONF,
index a7d62e5bfd0932c65645ac5234eae9095cfd3385..f6376559384fc311ad85b540a183f477d759e580 100644 (file)
@@ -1576,8 +1576,8 @@ static const char *set_threads_per_child (cmd_parms *cmd, void *dummy,
 }
 
 static const command_rec threaded_cmds[] = {
-UNIX_DAEMON_COMMANDS
-LISTEN_COMMANDS
+UNIX_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("StartServers", set_daemons_to_start, NULL, RSRC_CONF,
   "Number of child processes launched at server startup"),
 AP_INIT_TAKE1("MinSpareThreads", set_min_spare_threads, NULL, RSRC_CONF,
index 899aae9c933a15f7c84982d9bef6a19cff6ac21b..6b0ac33627dd6fa01600765769695ac6b981c689 100644 (file)
@@ -2086,7 +2086,7 @@ AP_DECLARE(apr_array_header_t *) ap_get_status_table(apr_pool_t *p)
 }
 
 static const command_rec winnt_cmds[] = {
-LISTEN_COMMANDS
+LISTEN_COMMANDS,
 { "ThreadsPerChild", set_threads_per_child, NULL, RSRC_CONF, TAKE1,
   "Number of threads each child creates" },
 { NULL }
index 203688b11d7e153d3c592486b82d108c5e7ef193..160988a230bca7745ba01e14d10aaa9096536769 100644 (file)
@@ -1641,8 +1641,8 @@ static const char *set_threads_per_child (cmd_parms *cmd, void *dummy,
 }
 
 static const command_rec worker_cmds[] = {
-UNIX_DAEMON_COMMANDS
-LISTEN_COMMANDS
+UNIX_DAEMON_COMMANDS,
+LISTEN_COMMANDS,
 AP_INIT_TAKE1("StartServers", set_daemons_to_start, NULL, RSRC_CONF,
   "Number of child processes launched at server startup"),
 AP_INIT_TAKE1("MinSpareThreads", set_min_spare_threads, NULL, RSRC_CONF,