diff options
author | Jeff Trawick <trawick@apache.org> | 2004-07-20 03:31:57 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2004-07-20 03:31:57 +0000 |
commit | ec080328c6f98f045611a8f7f5e003c4389f245e (patch) | |
tree | 79bab123eb3abff289605157bab4421e535590d1 /threadproc/unix/proc.c | |
parent | f405847a19026cba44aa8a37756108960699d5de (diff) | |
download | apr-ec080328c6f98f045611a8f7f5e003c4389f245e.tar.gz apr-ec080328c6f98f045611a8f7f5e003c4389f245e.zip |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@65285 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 2 |
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; } |