Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
38499c1
)
Tweaked the exclude_struct for our improved matching code.
author
Wayne Davison
<wayned@samba.org>
Thu, 1 May 2003 19:33:59 +0000
(19:33 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 1 May 2003 19:33:59 +0000
(19:33 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
e3cbe57
..
41e65f9
100644
(file)
--- 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 {