You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 1997/01/06 18:43:32 UTC

Re: cvs commit: apache/src/helpers PrintPath

Randy Terbush wrote:
> 
> 
> It might also be a good idea to test if it is a directory.

Yep... good idea (ie: NOT a directory).

> 
> 
> > jim         97/01/06 09:31:30
> > 
> >   Modified:    src/helpers  PrintPath
> >   Log:
> >   ULTRIX hack... see if readable since ULTRIX
> >   does not support the executable test
> >   
> >   Revision  Changes    Path
> >   1.4       +1 -1      apache/src/helpers/PrintPath
> >   
> >   Index: PrintPath
> >   ===================================================================
> >   RCS file: /export/home/cvs/apache/src/helpers/PrintPath,v
> >   retrieving revision 1.3
> >   retrieving revision 1.4
> >   diff -C3 -r1.3 -r1.4
> >   *** PrintPath	1996/12/11 18:35:38	1.3
> >   --- PrintPath	1997/01/06 17:31:28	1.4
> >   ***************
> >   *** 15,21 ****
> >           s/:$/:./
> >           s/:/ /g' `
> >     do
> >   !     if [ -x $path/$1 ]; then
> >             if [ "$echo" = "yes" ]; then
> >     	    echo $path/$1
> >     	fi
> >   --- 15,21 ----
> >           s/:$/:./
> >           s/:/ /g' `
> >     do
> >   !     if [ -r $path/$1 ]; then
> >             if [ "$echo" = "yes" ]; then
> >     	    echo $path/$1
> >     	fi
> >   
> >   
> >   
> 
> 
> 


-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"