Displaying 2 results from an estimated 2 matches for "implicit_dirs".
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...e_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 && f != -1) {
rprintf(FINFO,"building file list ... ");
@@ -711,10 +714,10 @@
io_start_buffering(f);
}
- for (i=0;i<argc;i++) {
+ while ((in_fn = (*ffunc)(opq)) != NULL) {
char *fname = topsrcname;
- strl...
2003 Jan 14
4
specifying a list of files to transfer
...nt 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_filelist_progress("building file list");
@@ -876,10 +879,10 @@
io_start_buffering(f);
}
- for (i = 0; i < argc; i++) {
+ while ((in_fn = (*ffunc)(opq)) != NULL) {
char *fname = topsrcname;
- strlcpy(fname, argv[i], MA...