trawick     2004/07/19 20:31:58

  Modified:    .        CHANGES
               threadproc/unix 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
  1.483     +4 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.482
  retrieving revision 1.483
  diff -u -r1.482 -r1.483
  --- CHANGES   19 Jul 2004 15:39:53 -0000      1.482
  +++ CHANGES   20 Jul 2004 03:31:57 -0000      1.483
  @@ -10,6 +10,10 @@
   
   Changes with APR 1.0
   
  +  *) 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>]
  +
     *) Add jlibtool - enabled with '--enable-experimental-libtool' option.
        [Justin Erenkrantz]
   
  
  
  
  1.75      +1 -1      apr/threadproc/unix/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/unix/proc.c,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- proc.c    23 Jun 2004 12:20:44 -0000      1.74
  +++ proc.c    20 Jul 2004 03:31:57 -0000      1.75
  @@ -295,7 +295,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;
               }
  
  
  

Reply via email to