diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-18 23:45:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-18 23:45:15 +0000 |
commit | 7942c2826b9f1f16246ef284009572427ec44909 (patch) | |
tree | 6fc8c84902831888d9ff5c79e9482064edc9971e /source3/client | |
parent | 357998ddbdeb2fae0a30c578e747154fec22c180 (diff) | |
download | samba-7942c2826b9f1f16246ef284009572427ec44909.tar.gz samba-7942c2826b9f1f16246ef284009572427ec44909.tar.bz2 samba-7942c2826b9f1f16246ef284009572427ec44909.zip |
Merge from HEAD for Amanda group.
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Jeremy.
(This used to be commit 0272fac8ca40b3d4ea4de8ac8a2e371d450d12e6)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/clitar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index f38d6fe91a..e43b3e4cc5 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -800,7 +800,7 @@ static void do_tar(file_info *finfo) #ifdef HAVE_REGEX_H (tar_re_search && !regexec(preg, exclaim, 0, NULL, 0))) { #else - (tar_re_search && mask_match(exclaim, cliplist[0], True))) { + (tar_re_search && mask_match_list(exclaim, cliplist, clipn, True))) { #endif DEBUG(3,("Skipping file %s\n", exclaim)); return; @@ -1153,7 +1153,7 @@ static void do_tarput(void) #ifdef HAVE_REGEX_H (tar_re_search && !regexec(preg, finfo.name, 0, NULL, 0))); #else - (tar_re_search && mask_match(finfo.name, cliplist[0], True))); + (tar_re_search && mask_match_list(finfo.name, cliplist, clipn, True))); #endif DEBUG(5, ("Skip = %i, cliplist=%s, file=%s\n", skip, (cliplist?cliplist[0]:NULL), finfo.name)); |