apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r454787 - /apr/apr/trunk/threadproc/unix/proc.c
Date Tue, 10 Oct 2006 15:40:32 GMT
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;
             }



Mime
View raw message