Displaying 2 results from an estimated 2 matches for "send_file_list_proc".
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...n",fname);
+ if (S_ISDIR(st.st_mode) && !recurse && !send_dirs) {
+ rprintf(FINFO,"make_file: skipping directory %s\n",fname);
return NULL;
}
@@ -689,14 +690,16 @@
}
-struct file_list *send_file_list(int f,int argc,char *argv[])
+static struct file_list *send_file_list_proc(int f,char *(*ffunc)(), void *opq)
{
- int i,l;
+ int l;
STRUCT_STAT st;
char *p,*dir,*olddir;
char lastpath[MAXPATHLEN]="";
struct file_list *flist;
int64 start_write;
+ char *in_fn;
+ extern int implicit_dirs;
if (verbose && recurse && !am_server &&...
2003 Jan 14
4
specifying a list of files to transfer
...kipping directory %s\n", fname);
return NULL;
}
@@ -856,14 +857,16 @@
* I *think* f==-1 means that the list should just be built in memory
* and not transmitted. But who can tell? -- mbp
*/
-struct file_list *send_file_list(int f, int argc, char *argv[])
+static struct file_list *send_file_list_proc(int f, char *(*ffunc)(), void *opq)
{
- int i, l;
+ int l;
STRUCT_STAT st;
char *p, *dir, *olddir;
char lastpath[MAXPATHLEN] = "";
struct file_list *flist;
int64 start_write;
+ char *in_fn;
+ extern int implicit_dirs;
if (show_filelist_p() && f != -1)
start_filel...