From fd73b94d312491fd3d9d3e38b820f8cb1c53f453 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 1 May 2003 19:33:59 +0000 Subject: [PATCH] Tweaked the exclude_struct for our improved matching code. --- rsync.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rsync.h b/rsync.h index e3cbe570..41e65f9c 100644 --- a/rsync.h +++ b/rsync.h @@ -421,13 +421,15 @@ struct map_struct { OFF_T file_size, p_offset, p_fd_offset; }; +#define MATCHFLG_WILD 0x0001 /* pattern has '*', '[', and/or '?' */ +#define MATCHFLG_WILD2 0x0002 /* pattern has '**' */ +#define MATCHFLG_WILD2_PREFIX 0x0004 /* pattern starts with '**' */ struct exclude_struct { char *pattern; - int regular_exp; - int fnmatch_flags; + int match_flags; int include; int directory; - int local; + int slash_cnt; }; struct stats { -- 2.34.1