mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fixed bug #21611 (version_compare() does not support "p" suffix)
This commit is contained in:
parent
0ff21d0370
commit
6d6ac93241
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,7 @@ static int
|
|||
compare_special_version_forms(char *form1, char *form2)
|
||||
{
|
||||
int found1 = -1, found2 = -1;
|
||||
special_forms_t special_forms[9] = {
|
||||
special_forms_t special_forms[10] = {
|
||||
{"dev", 0},
|
||||
{"alpha", 1},
|
||||
{"a", 1},
|
||||
|
@ -99,6 +99,7 @@ compare_special_version_forms(char *form1, char *form2)
|
|||
{"RC", 3},
|
||||
{"#", 4},
|
||||
{"pl", 5},
|
||||
{"p", 5},
|
||||
{NULL, 0},
|
||||
};
|
||||
special_forms_t *pp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue