trawick 2004/07/19 20:25:21
Modified: . Tag: APR_0_9_BRANCH CHANGES
threadproc/unix Tag: APR_0_9_BRANCH proc.c
Log:
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
Revision Changes Path
No revision
No revision
1.426.2.28 +5 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.426.2.27
retrieving revision 1.426.2.28
diff -u -r1.426.2.27 -r1.426.2.28
--- CHANGES 19 Jul 2004 15:29:27 -0000 1.426.2.27
+++ CHANGES 20 Jul 2004 03:25:21 -0000 1.426.2.28
@@ -1,4 +1,9 @@
Changes with APR 0.9.5
+
+ *) apr_proc_create() on Unix: Remove unnecessary check for read
+ access to the working directory of the child process.
+ PR 30137. [Jeremy Chadwick <apache jdc.parodius.com>]
+
*) Win32: Fix bug tracking the file pointer on a file opened for
overlapped/APR_XTHREAD io. [Bill Stoddard]
No revision
No revision
1.67.2.3 +1 -1 apr/threadproc/unix/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/unix/proc.c,v
retrieving revision 1.67.2.2
retrieving revision 1.67.2.3
diff -u -r1.67.2.2 -r1.67.2.3
--- proc.c 23 Jun 2004 15:07:59 -0000 1.67.2.2
+++ proc.c 20 Jul 2004 03:25:21 -0000 1.67.2.3
@@ -285,7 +285,7 @@
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;
}