From 66ffe146080e7570f6499ec3e1317f59ae727de9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 10 Feb 2005 03:34:25 +0000 Subject: r5295: fix compile issue with MIT 1.4 due to broken gssapi.h (This used to be commit f88f5e12187ed87934ae2cafbf9e9599d4fd7f6c) --- source3/client/clitar.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'source3/client/clitar.c') diff --git a/source3/client/clitar.c b/source3/client/clitar.c index a92be1abe3..14ebffb60f 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -87,9 +87,6 @@ static BOOL tar_reset=False; static BOOL tar_excl=True; /* use regular expressions for search on file names */ static BOOL tar_re_search=False; -#ifdef HAVE_REGEX_H -regex_t *preg; -#endif /* Do not dump anything, just calculate sizes */ static BOOL dry_run=False; /* Dump files with System attribute */ @@ -797,11 +794,7 @@ static void do_tar(file_info *finfo) DEBUG(5, ("...tar_re_search: %d\n", tar_re_search)); if ((!tar_re_search && clipfind(cliplist, clipn, exclaim)) || -#ifdef HAVE_REGEX_H - (tar_re_search && !regexec(preg, exclaim, 0, NULL, 0))) { -#else (tar_re_search && mask_match_list(exclaim, cliplist, clipn, True))) { -#endif DEBUG(3,("Skipping file %s\n", exclaim)); return; } @@ -1150,11 +1143,7 @@ static void do_tarput(void) /* Well, now we have a header, process the file ... */ /* Should we skip the file? We have the long name as well here */ skip = clipn && ((!tar_re_search && clipfind(cliplist, clipn, finfo.name) ^ tar_excl) || -#ifdef HAVE_REGEX_H - (tar_re_search && !regexec(preg, finfo.name, 0, NULL, 0))); -#else (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)); if (skip) { @@ -1748,25 +1737,6 @@ int tar_parseargs(int argc, char *argv[], const char *Optarg, int Optind) } if (Optind+1