tests: accept underscore in arbitrary third-party version strings
Fixes #2626
This commit is contained in:
1 parent
2961b132d0
commit
9eacf09a86
1 file changed
+1
-1
@@ -2456,7 +2456,7 @@ void assertVersion(const char *prog, const char *base)
|
||||
|
||||
/* Skip arbitrary third-party version numbers. */
|
||||
while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' ||
|
||||
isalnum((unsigned char)*q))) {
|
||||
*q == '_' || isalnum((unsigned char)*q))) {
|
||||
++q;
|
||||
--s;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user