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:
4762db4
)
New stubs to get the test setup to compile with the exclude changes.
author
Wayne Davison
<wayned@samba.org>
Tue, 1 Jul 2003 21:45:29 +0000
(21:45 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 1 Jul 2003 21:45:29 +0000
(21:45 +0000)
t_stub.c
patch
|
blob
|
blame
|
history
diff --git
a/t_stub.c
b/t_stub.c
index
27ce7d1
..
50ca4e1
100644
(file)
--- a/
t_stub.c
+++ b/
t_stub.c
@@
-27,6
+27,7
@@
**/
int modify_window = 0;
**/
int modify_window = 0;
+struct exclude_struct **server_exclude_list;
void rprintf(enum logcode UNUSED(code), const char *format, ...)
{
void rprintf(enum logcode UNUSED(code), const char *format, ...)
{
@@
-42,3
+43,10
@@
int modify_window = 0;
code, file, line);
exit(code);
}
code, file, line);
exit(code);
}
+
+ int check_exclude(struct exclude_struct **list, char *name, int name_is_dir)
+{
+ /* This function doesn't really get called in a test context, so
+ * just reference our parameters to avoid compiler warnings. */
+ return 0 && list && name && name_is_dir;
+}