httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] 1.3 GuessOS - fix mishandling of slashes from uname -m
Date Thu, 15 Mar 2001 15:59:34 GMT
+1

Jeff Trawick wrote:
> 
> Jim Jagielski <jim@jaguNET.com> writes:
> 
> > Could you repost?
> 
> Index: GuessOS
> ===================================================================
> RCS file: /cvs/apache/apache-1.3/src/helpers/GuessOS,v
> retrieving revision 1.71
> diff -u -r1.71 GuessOS
> --- GuessOS	2001/02/16 14:27:18	1.71
> +++ GuessOS	2001/03/13 11:07:57
> @@ -33,6 +33,8 @@
>  SYSTEM=`(uname -s) 2>/dev/null`  || SYSTEM="unknown"
>  VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown"
>  
> +# Some HP machines have slashes.
> +MACHINE=`echo ${MACHINE}|sed -e 's/\//-/'`
>  
>  # Now test for ISC and SCO, since it is has a braindamaged uname.
>  #
> 
> -- 
> Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Mime
View raw message