You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/01/06 18:33:34 UTC

Re: cvs commit: apache/src/helpers PrintPath

It might also be a good idea to test if it is 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
>   
>   
>