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
Call clean_flist() with its new "collapse_dot_dot" arg.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
743df09
..
4e0af36
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-570,7
+570,7
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
strlcpy(lastname, thisname, MAXPATHLEN);
strlcpy(lastname, thisname, MAXPATHLEN);
- clean_fname(thisname);
+ clean_fname(thisname
, 0
);
if (sanitize_paths)
sanitize_path(thisname, thisname, "", 0);
if (sanitize_paths)
sanitize_path(thisname, thisname, "", 0);
@@
-761,7
+761,7
@@
struct file_struct *make_file(char *fname, struct file_list *flist,
rprintf(FINFO, "skipping overly long name: %s\n", fname);
return NULL;
}
rprintf(FINFO, "skipping overly long name: %s\n", fname);
return NULL;
}
- clean_fname(thisname);
+ clean_fname(thisname
, 0
);
if (sanitize_paths)
sanitize_path(thisname, thisname, "", 0);
if (sanitize_paths)
sanitize_path(thisname, thisname, "", 0);