You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2006/10/10 17:40:32 UTC
svn commit: r454787 - /apr/apr/trunk/threadproc/unix/proc.c
Author: jorton
Date: Tue Oct 10 08:40:31 2006
New Revision: 454787
URL: http://svn.apache.org/viewvc?view=rev&rev=454787
Log:
* threadprox/unix/proc.c (apr_proc_create): Relax the tests to allow
executable-but-unreadable programs to be executed even if the errchk
mode is active.
PR: 32498
Modified:
apr/apr/trunk/threadproc/unix/proc.c
Modified: apr/apr/trunk/threadproc/unix/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/unix/proc.c?view=diff&rev=454787&r1=454786&r2=454787
==============================================================================
--- apr/apr/trunk/threadproc/unix/proc.c (original)
+++ apr/apr/trunk/threadproc/unix/proc.c Tue Oct 10 08:40:31 2006
@@ -355,7 +355,7 @@
* caller can choose to pass full path for other
* values of cmdtype
*/
- if (access(progname, R_OK|X_OK) == -1) {
+ if (access(progname, X_OK) == -1) {
/* exec*() in child wouldn't have worked */
return errno;
}