| 577 | } |
| 578 | |
| 579 | AP_DECLARE(void) ap_error_log2stderr(server_rec *s) { |
| 580 | apr_file_t *errfile = NULL; |
| 581 | |
| 582 | apr_file_open_stderr(&errfile, s->process->pool); |
| 583 | if (s->error_log != NULL) { |
| 584 | apr_file_dup2(s->error_log, errfile, s->process->pool); |
| 585 | } |
| 586 | } |
| 587 | |
| 588 | static int cpystrn(char *buf, const char *arg, int buflen) |
| 589 | { |