I introduced this bug in the last version as a side effect of fixing
the permissions on intermediate directories with -R. drat.
exit_cleanup(1);
}
+ name[strlen(name)-2] = 0;
+
p = strrchr(name,'/');
if (!p) {
free(name);
}
*p = 0;
+ strcat(name,"/.");
+
while (low != high) {
int mid = (low+high)/2;
int ret = strcmp(f_name(flist->files[flist_up(flist, mid)]),name);
if (!S_ISDIR(flist->files[j]->mode)) continue;
+ if (strlen(name)<2 || strcmp(name+strlen(name)-2,"/.")!=0) continue;
+
if (delete_already_done(flist, j)) continue;
if (!(local_file_list = send_file_list(-1,1,&name)))