aboutsummaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2016-08-13 21:20:06 +0000
committerMartin Matuska <mm@FreeBSD.org>2016-08-13 21:20:06 +0000
commit5b0ba629933ba7fd02398bcd8600d27a17fdf9b0 (patch)
treecf724fc79f53afcd95989182e3bd92b1e90e31ee /cat
parent50fc3a26ef19f9dbc718e1d27615c28c5ad6743d (diff)
downloadsrc-5b0ba629933ba7fd02398bcd8600d27a17fdf9b0.tar.gz
src-5b0ba629933ba7fd02398bcd8600d27a17fdf9b0.zip
Update vendor/libarchive to git 6a0d970f70102fe50ee9f1e51a2e4c048985e616
Vendor issues fixed: Issue #744: Very long pathnames evade symlink checks Issue #748: libarchive can compress, but cannot decompress zip some files PR #750: ustar: fix out of bounds read on empty string ("") filename PR #755: fix use of acl_get_flagset_np() on FreeBSD
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=304060
Diffstat (limited to 'cat')
-rw-r--r--cat/test/test_version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cat/test/test_version.c b/cat/test/test_version.c
index e7c93630b499..e587b3440c6d 100644
--- a/cat/test/test_version.c
+++ b/cat/test/test_version.c
@@ -83,7 +83,7 @@ DEFINE_TEST(test_version)
if (*q == 'a' || *q == 'b' || *q == 'c' || *q == 'd')
++q;
/* Skip arbitrary third-party version numbers. */
- while (s > 0 && (*q == ' ' || *q == '/' || *q == '.' || isalnum(*q))) {
+ while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' || isalnum(*q))) {
++q;
--s;
}