From: Paul J. Reder Date: Wed, 17 Dec 2008 18:03:09 +0000 (+0000) Subject: Output -M and -S dumps (modules and vhosts) to stdout instead of stderr. X-Git-Tag: 2.3.1~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3474fcaceee73405eefc5b0e6b0897b82a0a3836;p=thirdparty%2Fapache%2Fhttpd.git Output -M and -S dumps (modules and vhosts) to stdout instead of stderr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@727452 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 1564ad51bab..66572b5787a 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.1 [ When backported to 2.2.x, remove entry from this file ] + *) Output -M and -S dumps (modules and vhosts) to stdout instead of stderr. + PR 42571 and PR 44266 (dup). [Dan Poirier ] + *) mod_ldap: Avoid a segfault when result->rc is checked in uldap_connection_init when result is NULL. This could happen if LDAP initialization failed. PR 45994. [Dan Poirier ] diff --git a/modules/mappers/mod_so.c b/modules/mappers/mod_so.c index 37c76a75780..d7bd2e71a4b 100644 --- a/modules/mappers/mod_so.c +++ b/modules/mappers/mod_so.c @@ -362,7 +362,7 @@ static void dump_loaded_modules(apr_pool_t *p, server_rec *s) return; } - apr_file_open_stderr(&out, p); + apr_file_open_stdout(&out, p); apr_file_printf(out, "Loaded Modules:\n"); diff --git a/server/vhost.c b/server/vhost.c index 8aebcfd023e..6ed6cfea835 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -676,7 +676,7 @@ AP_DECLARE(void) ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s) #endif if (ap_exists_config_define("DUMP_VHOSTS")) { apr_file_t *thefile = NULL; - apr_file_open_stderr(&thefile, p); + apr_file_open_stdout(&thefile, p); dump_vhost_config(thefile); } }