diff options
author | Derick Rethans <derick@php.net> | 2007-08-23 11:36:14 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2007-08-23 11:36:14 +0000 |
commit | 947b50b30f8acada01812534c25bd5ccfb69c964 (patch) | |
tree | 9f94bda13aa489451056b54b01a8372c0c165d6c | |
parent | 6ff029a37dc59c1d823c567fefd1fa52c0a8902e (diff) | |
download | php-git-947b50b30f8acada01812534c25bd5ccfb69c964.tar.gz |
- Make version_compare() also understand the lower case variant of "RC".
-rw-r--r-- | ext/standard/versioning.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/versioning.c b/ext/standard/versioning.c index 6222a68a68..55694f1dd8 100644 --- a/ext/standard/versioning.c +++ b/ext/standard/versioning.c @@ -91,13 +91,14 @@ static int 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}, |