Displaying 1 result from an estimated 1 matches for "recurse_level".
2003 Jun 24
2
[PATCH] Limit recursion depth
....
So i wrote this ugly patch, that works-for-me(TM):
diff -uNr rsync-2.5.6/flist.c rsync-2.5.6-patched/flist.c
- --- rsync-2.5.6/flist.c Sat Jan 18 19:00:23 2003
+++ rsync-2.5.6-patched/flist.c Mon Jun 23 21:38:21 2003
@@ -41,6 +41,7 @@
extern int cvs_exclude;
extern int recurse;
+extern int recurse_level;
extern int one_file_system;
extern int make_backups;
@@ -797,11 +798,20 @@
send_file_entry(file, f, base_flags);
}
- - if (S_ISDIR(file->mode) && recursive) {
+ if (S_ISDIR(file->mode) && recursive ) {
struct exclude_str...