aboutsummaryrefslogtreecommitdiff
path: root/net/rsync/files/patch-utils.c
blob: 1a998a268cc41f4bfbb5017a9be4a2ad8683b9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- util.c.orig	2008-05-30 20:02:16.000000000 +0400
+++ util.c	2008-05-30 20:04:01.000000000 +0400
@@ -582,7 +582,7 @@
 	} else
 		use_buf = glob.arg_buf;
 
-	if (from_glob || arg) {
+	if (from_glob || (arg && len)) {
 		STRUCT_STAT st;
 		int is_dir;