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
paranoia change - treat list_only like read_only and refuse all
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
caca010
..
e7b1f13
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-58,6
+58,10
@@
static void list_file_entry(struct file_struct *f)
char *perm_map = "rwxrwxrwx";
int i;
+ if (!f->basename)
+ /* this can happen if duplicate names were removed */
+ return;
+
for (i=0;i<9;i++) {
if (f->mode & (1<<i)) perms[9-i] = perm_map[8-i];
}