summaryrefslogtreecommitdiff
path: root/threadproc/unix
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2004-07-20 03:31:57 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2004-07-20 03:31:57 +0000
commite1bc2cec7830a7979ce61ca87ec0c2b38f1a5088 (patch)
tree79bab123eb3abff289605157bab4421e535590d1 /threadproc/unix
parentc5c33012a88427b398fb2e7b773803db87bf3177 (diff)
downloadlibapr-e1bc2cec7830a7979ce61ca87ec0c2b38f1a5088.tar.gz
apr_proc_create() on Unix: Remove unnecessary check for read
access to the working directory of the child process. PR: 30137 Submitted by: Jeremy Chadwick <apache jdc.parodius.com> Reviewed by: jorton, trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65285 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix')
-rw-r--r--threadproc/unix/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c
index 7f01425bc..9273c1124 100644
--- a/threadproc/unix/proc.c
+++ b/threadproc/unix/proc.c
@@ -295,7 +295,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
if (attr->errchk) {
if (attr->currdir) {
- if (access(attr->currdir, R_OK|X_OK) == -1) {
+ if (access(attr->currdir, X_OK) == -1) {
/* chdir() in child wouldn't have worked */
return errno;
}