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:
Tim Kientzle 2008-03-18 06:18:49 +00:00
parent 19905d6dbd
commit 3b56813eb0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);
}
/*