summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-08-18 18:13:40 +0000
committerkientzle <kientzle@FreeBSD.org>2008-08-18 18:13:40 +0000
commitadc2f6a5dab4ec90dc49720f17ae81c65aefebc7 (patch)
treee7ce39b8270687d5a568a4843f24566440fe3f1d /usr.bin
parent4f77677b6678d41bcbe4960cb156707d72af7a0e (diff)
downloadFreeBSD-src-adc2f6a5dab4ec90dc49720f17ae81c65aefebc7.zip
FreeBSD-src-adc2f6a5dab4ec90dc49720f17ae81c65aefebc7.tar.gz
Fix SVN r181821 by not using FNM_LEADING_DIR where
it shouldn't be used.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tar/matching.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/matching.c b/usr.bin/tar/matching.c
index 03cd050..2e146fe 100644
--- a/usr.bin/tar/matching.c
+++ b/usr.bin/tar/matching.c
@@ -313,7 +313,7 @@ pathmatch(const char *pattern, const char *string)
while (string[0] == '/')
++string;
}
- return (bsdtar_fnmatch(pattern, string, FNM_LEADING_DIR));
+ return (bsdtar_fnmatch(pattern, string));
}
OpenPOWER on IntegriCloud