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 (parent:
669a319
)
Moved the setting of ret->match_flags up a little in make_exclude().
author
Wayne Davison
<wayned@samba.org>
Sun, 16 May 2004 14:08:34 +0000
(14:08 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 16 May 2004 14:08:34 +0000
(14:08 +0000)
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
78d9c8c
..
1bfbf82
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-84,14
+84,14
@@
static void make_exclude(struct exclude_list_struct *listp, const char *pat,
for (cp = ret->pattern; (cp = strchr(cp, '/')) != NULL; cp++)
ret->slash_cnt++;
for (cp = ret->pattern; (cp = strchr(cp, '/')) != NULL; cp++)
ret->slash_cnt++;
+ ret->match_flags = mflags;
+
if (!listp->tail)
listp->head = listp->tail = ret;
else {
listp->tail->next = ret;
listp->tail = ret;
}
if (!listp->tail)
listp->head = listp->tail = ret;
else {
listp->tail->next = ret;
listp->tail = ret;
}
-
- ret->match_flags = mflags;
}
static void free_exclude(struct exclude_struct *ex)
}
static void free_exclude(struct exclude_struct *ex)