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
@ -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