Re: cvs: php-src /ext/standard versioning.c
| From: | Derick Rethans | Date: | Thu, 23 Aug 2007 11:37:11 +0000 |
| Subject: | Re: cvs: php-src /ext/standard versioning.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-45957@lists.php.net to get a copy of this message | ||
Hello,
could I add this to 5.2.4 as well? As you can see it's a really minor
thing.
regards,
Derick
On Thu, 23 Aug 2007, Derick Rethans wrote:
> derick Thu Aug 23 11:36:14 2007 UTC
>
> Modified files:
> /php-src/ext/standard versioning.c
> Log:
> - Make version_compare() also understand the lower case variant of "RC".
>
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/versioning.c?r1=1.24&r2=1.25&diff_format=u
> Index: php-src/ext/standard/versioning.c
> diff -u php-src/ext/standard/versioning.c:1.24 php-src/ext/standard/versioning.c:1.25
> --- php-src/ext/standard/versioning.c:1.24 Sat Jul 14 08:38:20 2007
> +++ php-src/ext/standard/versioning.c Thu Aug 23 11:36:14 2007
> @@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: versioning.c,v 1.24 2007/07/14 08:38:20 tony2001 Exp $ */
> +/* $Id: versioning.c,v 1.25 2007/08/23 11:36:14 derick Exp $ */
>
> #include <stdio.h>
> #include <sys/types.h>
> @@ -91,13 +91,14 @@
> compare_special_version_forms(char *form1, char *form2)
> {
> int found1 = -1, found2 = -1;
> - special_forms_t special_forms[10] = {
> + special_forms_t special_forms[11] = {
> {"dev", 0},
> {"alpha", 1},
> {"a", 1},
> {"beta", 2},
> {"b", 2},
> {"RC", 3},
> + {"rc", 3},
> {"#", 4},
> {"pl", 5},
> {"p", 5},
>
>
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org