Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c934eb
)
Removing now-redundant path-size check from send_if_directory().
author
Wayne Davison
<wayned@samba.org>
Wed, 31 Mar 2010 21:56:52 +0000
(14:56 -0700)
committer
Wayne Davison
<wayned@samba.org>
Wed, 31 Mar 2010 21:57:01 +0000
(14:57 -0700)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
10fdc4c
..
ad6b5bf
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1564,12
+1564,6
@@
static void send_if_directory(int f, struct file_list *flist,
unsigned int len = strlen(fbuf);
if (len > 1 && fbuf[len-1] == '/')
fbuf[--len] = '\0';
- if (len >= MAXPATHLEN - 1) {
- io_error |= IOERR_GENERAL;
- rprintf(FERROR_XFER, "skipping long-named directory: %s\n",
- full_fname(fbuf));
- return;
- }
save_filters = push_local_filters(fbuf, len);
send_directory(f, flist, fbuf, len, flags);
pop_local_filters(save_filters);