Loading server/log.c +3 −4 Changes for server/log.c: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -178,10 +178,9 @@ static int log_child(ap_context_t *p, const char *progname, if ((ap_createprocattr_init(&procattr, p) != APR_SUCCESS) || (ap_setprocattr_io(procattr, APR_NO_PIPE, APR_FULL_BLOCK, APR_NO_PIPE) != APR_SUCCESS) || (ap_setprocattr_dir(procattr, progname) != APR_SUCCESS)) { APR_NO_PIPE, APR_NO_PIPE) != APR_SUCCESS)) { /* Something bad happened, give up and go away. */ rc = -1; } Loading Loading @@ -265,7 +264,7 @@ void ap_open_logs(server_rec *s_main, ap_context_t *p) replace_stderr = 1; if (s_main->error_log) { /* replace stderr with this new log */ fflush(stderr); fflush(stderr); /* ToDo: replace this with an APR call... */ ap_open_stderr(&errfile, p); if (ap_dupfile(&errfile, s_main->error_log) != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, errno, s_main, Loading Loading
server/log.c +3 −4 Changes for server/log.c: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -178,10 +178,9 @@ static int log_child(ap_context_t *p, const char *progname, if ((ap_createprocattr_init(&procattr, p) != APR_SUCCESS) || (ap_setprocattr_io(procattr, APR_NO_PIPE, APR_FULL_BLOCK, APR_NO_PIPE) != APR_SUCCESS) || (ap_setprocattr_dir(procattr, progname) != APR_SUCCESS)) { APR_NO_PIPE, APR_NO_PIPE) != APR_SUCCESS)) { /* Something bad happened, give up and go away. */ rc = -1; } Loading Loading @@ -265,7 +264,7 @@ void ap_open_logs(server_rec *s_main, ap_context_t *p) replace_stderr = 1; if (s_main->error_log) { /* replace stderr with this new log */ fflush(stderr); fflush(stderr); /* ToDo: replace this with an APR call... */ ap_open_stderr(&errfile, p); if (ap_dupfile(&errfile, s_main->error_log) != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, errno, s_main, Loading