Skip to content

Commit

Permalink
MFH: - Fixed bug #21611 (version_compare() does not support "p" suffix)
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Aug 5, 2003
1 parent b7d673d commit 3d59847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/standard/versioning.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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;
Expand Down

0 comments on commit 3d59847

Please sign in to comment.