Lines Matching defs:s_main
214 * The trouble is, stderr_pool may have s_main->error_log,
365 apr_pool_t *ptemp, server_rec *s_main)
393 if (open_error_log(s_main, 1, stderr_p) != OK) {
398 if (s_main->error_log) {
402 apr_file_flush(s_main->error_log);
403 rv = apr_file_dup2(stderr_log, s_main->error_log, stderr_p);
405 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s_main, APLOGNO(00092)
417 * Now that we have dup'ed s_main->error_log to stderr_log
418 * close it and set s_main->error_log to stderr_log. This avoids
424 apr_file_close(s_main->error_log);
425 s_main->error_log = stderr_log;
443 ap_log_error(APLOG_MARK, APLOG_CRIT, errno, s_main, APLOGNO(00093)
449 for (virt = s_main->next; virt; virt = virt->next) {
451 for (q=s_main; q != virt; q = q->next) {
473 else if (s_main->errorlog_provider) {
474 /* inherit provider from s_main */
475 virt->errorlog_provider = s_main->errorlog_provider;
476 virt->errorlog_provider_handle = s_main->errorlog_provider_handle;
480 virt->error_log = s_main->error_log;