[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r12027 - trunk

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-11-26 13:50:50 CET

Branko Čibej wrote:
> brane@mithril:~$ uname -rs
> FreeBSD 5.0-RELEASE
> brane@mithril:~$ expr '0.9.5' : '0\.9\.[5-9]\|0\.9\.[1-9][0-9]'
> 0
> brane@mithril:~$ expr '0.9.5' : '0\.9\.[5-9]'
> 5

Thanks. I don't know why that doesn't work as I expect it to and as it works
on most systems, but I've reverted that part of the change in r12044.

(We don't have an urgent need to support APR versions 0.9.(>= 10) but if and
when anyone wants to revisit this version-checking code I suggest accepting
just one regexp and allowing it to be an arbitrary regexp with grouping and
alternation, say by using "echo $VERSION | grep ^$REGEXP" instead of testing
two separate regexps with "expr $VERSION : $REGEXP" commands.)

Sorry for the breakage.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 26 13:52:20 2004

This is an archived mail posted to the Subversion Dev mailing list.