mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Simplify s/APR_OS_PROC_T_FMT/APR_PID_T_FMT/, apr_os_foo entities aren't
for external consumption. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93969 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -512,7 +512,7 @@ static int status_handler(request_rec *r)
|
||||
int indx = (i * thread_limit) + j;
|
||||
|
||||
if (stat_buffer[indx] != '.') {
|
||||
ap_rprintf(r, " %" APR_OS_PROC_T_FMT
|
||||
ap_rprintf(r, " %" APR_PID_T_FMT
|
||||
" in state: %c ", pid_buffer[i],
|
||||
stat_buffer[indx]);
|
||||
|
||||
@@ -581,7 +581,7 @@ static int status_handler(request_rec *r)
|
||||
else
|
||||
ap_rprintf(r,
|
||||
"<b>Server %d-%d</b> (%"
|
||||
APR_OS_PROC_T_FMT "): %d|%lu|%lu [",
|
||||
APR_PID_T_FMT "): %d|%lu|%lu [",
|
||||
i, (int) ps_record.generation,
|
||||
ps_record.pid,
|
||||
(int)conn_lres, my_lres, lres);
|
||||
@@ -664,7 +664,7 @@ static int status_handler(request_rec *r)
|
||||
else
|
||||
ap_rprintf(r,
|
||||
"<tr><td><b>%d-%d</b></td><td>%"
|
||||
APR_OS_PROC_T_FMT
|
||||
APR_PID_T_FMT
|
||||
"</td><td>%d/%lu/%lu",
|
||||
i, (int)ps_record.generation,
|
||||
ps_record.pid, (int)conn_lres,
|
||||
|
@@ -942,7 +942,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
|
||||
}
|
||||
|
||||
/* Initialize cross-process accept lock */
|
||||
ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_OS_PROC_T_FMT,
|
||||
ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_PID_T_FMT,
|
||||
ap_server_root_relative(_pconf, ap_lock_fname),
|
||||
ap_my_pid);
|
||||
|
||||
|
@@ -1394,7 +1394,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
|
||||
}
|
||||
|
||||
/* Initialize cross-process accept lock */
|
||||
ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_OS_PROC_T_FMT,
|
||||
ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_PID_T_FMT,
|
||||
ap_server_root_relative(_pconf, ap_lock_fname),
|
||||
ap_my_pid);
|
||||
|
||||
|
@@ -262,7 +262,7 @@ int ap_process_child_status(apr_proc_t *pid, apr_exit_why_e why, int status)
|
||||
if (status == APEXIT_CHILDFATAL) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO,
|
||||
0, ap_server_conf,
|
||||
"Child %" APR_OS_PROC_T_FMT
|
||||
"Child %" APR_PID_T_FMT
|
||||
" returned a Fatal error..." APR_EOL_STR
|
||||
"Apache is exiting!",
|
||||
pid->pid);
|
||||
|
Reference in New Issue
Block a user