libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: version numbers with more than three digits


From: Ralf Wildenhues
Subject: Re: version numbers with more than three digits
Date: Fri, 4 Feb 2005 09:48:28 +0100
User-agent: Mutt/1.4.1i

* Peter O'Gorman wrote on Thu, Feb 03, 2005 at 01:19:40PM CET:
> Ralf Wildenhues wrote:
> |
> |         * ltmain.in (link mode): Allow version number components with
> |         more than three digits.
> |
> | Index: ltmain.in
> | ===================================================================
> | RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> | retrieving revision 1.334.2.53
> | diff -u -r1.334.2.53 ltmain.in
> | --- ltmain.in       2 Feb 2005 22:17:04 -0000       1.334.2.53
> | +++ ltmain.in       3 Feb 2005 07:38:50 -0000
> | @@ -3118,8 +3118,7 @@
> |
> |     # Check that each of the things are valid numbers.
> |     case $current in
> | -   0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
> | -   *)
> | +   *[!0-9]* | 0[0-9]*)
> |       $echo "$modename: CURRENT \`$current' is not a nonnegative 
> integer" 1>&2
> |       $echo "$modename: \`$vinfo' is not valid version information" 1>&2
> |       exit $EXIT_FAILURE
*snip*
> 
> Longish quote from the autoconf manual:
*snip*
> 
> Doesn't this apply to your patch too?

Yes, I guess.

Can I just do
-   0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+   0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9] | [1-9][0-9][0-9][0-9]) ;;

then?  I mean, nobody will *ever* produce 10K revision, right?  :)

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]