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
Don't force the whole-file option when using read-batch.
[rsync/rsync.git]
/
t_stub.c
diff --git
a/t_stub.c
b/t_stub.c
index
88b697e
..
008e6b8
100644
(file)
--- a/
t_stub.c
+++ b/
t_stub.c
@@
-27,7
+27,8
@@
**/
int modify_window = 0;
**/
int modify_window = 0;
-struct exclude_struct **server_exclude_list;
+int module_id = -1;
+struct exclude_list_struct server_exclude_list;
void rprintf(UNUSED(enum logcode code), const char *format, ...)
{
void rprintf(UNUSED(enum logcode code), const char *format, ...)
{
@@
-44,10
+45,26
@@
struct exclude_struct **server_exclude_list;
exit(code);
}
exit(code);
}
- int check_exclude(UNUSED(struct exclude_
struct **list
), UNUSED(char *name),
+ int check_exclude(UNUSED(struct exclude_
list_struct *listp
), UNUSED(char *name),
UNUSED(int name_is_dir))
{
/* This function doesn't really get called in this test context, so
* just return 0. */
return 0;
}
UNUSED(int name_is_dir))
{
/* This function doesn't really get called in this test context, so
* just return 0. */
return 0;
}
+
+ char *lp_name(UNUSED(int mod))
+{
+ return NULL;
+}
+
+ BOOL lp_use_chroot(UNUSED(int mod))
+{
+ return 0;
+}
+
+ char *lp_path(UNUSED(int mod))
+{
+ return NULL;
+}
+