rsync/rsync-3.0.10-lose-track.patch
Michal Luscon d1bb487096 Fixed: #823088 - rsync loses track of files with different directory prefixes
Fixed: #495310 - rsync contains forked copy of zlib
2012-10-18 11:26:47 +02:00

12 lines
295 B
Diff

--- rsync-3.0.9/flist.c 2011-08-27 23:58:04.000000000 +0200
+++ rsync-3.0.9/flist.c 2012-10-16 13:25:30.201627611 +0200
@@ -369,7 +369,7 @@
pathname = dir;
pathname_len = dirlen;
- if (!dir)
+ if (!dir || (*dir=='.' && dirlen==1))
dir = orig_dir;
if (!change_dir(dir, CD_NORMAL)) {