Changes with Apache 2.0b1
+ *) Use a real pool to dup the error log descriptor. [Ryan Bloom]
+
*) Fix a segfault caused by mod_ext_filter when the external filter
program does not exist. [Jeff Trawick]
/* replace stderr with this new log */
apr_flush(s_main->error_log);
apr_open_stderr(&errfile, p);
- if ((rc = apr_dupfile(&errfile, s_main->error_log, NULL)) != APR_SUCCESS) {
+ if ((rc = apr_dupfile(&errfile, s_main->error_log, p)) != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rc, s_main,
"unable to replace stderr with error_log");
} else {