Merge a patch from cvs which fixes a file-globbing bug in the daemon when chroot
is on. http://www.mail-archive.com/rsync-cvs@lists.samba.org/msg05785.html Submitted by: sem Obtained from: rsync cvs
This commit is contained in:
parent
c4297de97a
commit
09405f8ee1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214016
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= rsync
|
||||
PORTVERSION= 3.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
|
||||
ftp://ftp.samba.org/pub/%SUBDIR%/ \
|
||||
|
11
net/rsync/files/patch-utils.c
Normal file
11
net/rsync/files/patch-utils.c
Normal file
@ -0,0 +1,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;
|
||||
|
Loading…
Reference in New Issue
Block a user