summaryrefslogtreecommitdiff
path: root/system/libarchive/test-fix.patch
blob: 484145dd3c91c065481b3c1c4e8d87c4eb816058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Upstream-URL: https://github.com/libarchive/libarchive/issues/2653

--- libarchive-3.8.0/test_utils/test_main.c.old	2025-05-20 04:00:39.000000000 -0500
+++ libarchive-3.8.0/test_utils/test_main.c	2025-05-31 17:39:16.638713788 -0500
@@ -2456,7 +2456,7 @@
 
 	/* Skip arbitrary third-party version numbers. */
 	while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' ||
-	    isalnum((unsigned char)*q))) {
+	    *q == '_' || isalnum((unsigned char)*q))) {
 		++q;
 		--s;
 	}