summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-06-27 10:47:49 +0000
committerJeff Trawick <trawick@apache.org>2002-06-27 10:47:49 +0000
commit1149429227e64ed43341525b02a441d0f796e922 (patch)
tree2c441d17c57a5c0b3a31fc93f3b241ab01a3c057 /os
parentb274510242753f9d02ceb53555633c07f9e148d8 (diff)
downloadhttpd-1149429227e64ed43341525b02a441d0f796e922.tar.gz
fix compile breakage with IBM's xlc compiler caused by the
attempt to lose const on progname strrchr was not the real library function that takes a const parameter; instead, strrchr was the Apache macro which makes it clear that const will be lost git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95900 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/unix/unixd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index 515c430443..870593fb7b 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -332,7 +332,7 @@ static apr_status_t ap_unix_create_privileged_process(
return apr_proc_create(newproc, progname, args, env, attr, p);
}
- argv0 = strrchr(progname, '/');
+ argv0 = ap_strrchr_c(progname, '/');
/* Allow suexec's "/" check to succeed */
if (argv0 != NULL) {
argv0++;