Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a union for idlist's name/max_id value. Fixes bug 8137.
[rsync/rsync.git]
/
batch.c
diff --git
a/batch.c
b/batch.c
index
369d82f
..
b63f0c5
100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-43,7
+43,7
@@
extern char *batch_name;
extern char *iconv_opt;
#endif
extern char *iconv_opt;
#endif
-extern
struct filter_list_struc
t filter_list;
+extern
filter_rule_lis
t filter_list;
int batch_stream_flags;
int batch_stream_flags;
@@
-191,12
+191,12
@@
static int write_arg(int fd, char *arg)
static void write_filter_rules(int fd)
{
static void write_filter_rules(int fd)
{
-
struct filter_struct
*ent;
+
filter_rule
*ent;
write_sbuf(fd, " <<'#E#'\n");
for (ent = filter_list.head; ent; ent = ent->next) {
unsigned int plen;
write_sbuf(fd, " <<'#E#'\n");
for (ent = filter_list.head; ent; ent = ent->next) {
unsigned int plen;
- char *p = get_rule_prefix(ent
->rflags
, "- ", 0, &plen);
+ char *p = get_rule_prefix(ent, "- ", 0, &plen);
write_buf(fd, p, plen);
write_sbuf(fd, ent->pattern);
if (ent->rflags & FILTRULE_DIRECTORY)
write_buf(fd, p, plen);
write_sbuf(fd, ent->pattern);
if (ent->rflags & FILTRULE_DIRECTORY)