X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37f9805dabba76b7a00bd2a0227762f6f239b598..fd0abefa433e80dcc4f730f30bc5e4d918a3c10b:/flist.c diff --git a/flist.c b/flist.c index caca010f..e7b1f139 100644 --- 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<