mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
Fix --fast-read by decrementing the remaining patterns to be matched,
instead of incrementing. Pointy hat: me Thanks to: Tomasz Przygoda MFC after: 3 days
This commit is contained in:
parent
19905d6dbd
commit
3b56813eb0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177341
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= bsdtar
|
||||
BSDTAR_VERSION_STRING= 2.4.11
|
||||
BSDTAR_VERSION_STRING=2.5.0b
|
||||
SRCS= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
|
||||
WARNS?= 5
|
||||
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
|
@ -157,7 +157,7 @@ excluded(struct bsdtar *bsdtar, const char *pathname)
|
||||
*/
|
||||
if (match->matches == 0) {
|
||||
match->matches++;
|
||||
matching->inclusions_unmatched_count++;
|
||||
matching->inclusions_unmatched_count--;
|
||||
return (0);
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user