diff --git a/src/string/strverscmp.c b/src/string/strverscmp.c index 4daf276d..9e35422a 100644 --- a/src/string/strverscmp.c +++ b/src/string/strverscmp.c @@ -22,8 +22,8 @@ int strverscmp(const char *l0, const char *r0) /* If we're not looking at a digit sequence that began * with a zero, longest digit string is greater. */ for (j=i; isdigit(l[j]); j++) - if (!isdigit(r[j])) return 1; - if (isdigit(r[j])) return -1; + if (dp