Blob Blame History Raw
--- 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)) {