apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: FreeBSD version check for thread-safe sendfile
Date Fri, 12 Jan 2001 10:28:00 GMT
On Thu, Jan 11, 2001 at 12:54:09PM -0800, rbb@covalent.net wrote:
> On Thu, 11 Jan 2001, Greg Stein wrote:
> 
> > One of the reasons that I was advocating using the globbing feature of
> > "case" was to avoid the nasty sed expression.
> > 
> > Just do:
> > 
> >   case "`uname -r`" in
> >       3.4*)
> >           disable-threads
> >           ;;
> >   esac
> 
> But, this doesn't do what we want, which is to do this for any version
> before 4.2-STABLE.  Anything earlier than that is suspect.

1*|2*|3*|4.0*|4.1*|4.2-whatever-the-unstable-is)


It feels like you guys are making the problem more difficult than it really
is. Why not simply globbing? Why try to construct some darn version number?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message