Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For the "unexpected tag" or "multiplexing overflow" messages, we
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
0bd653f
..
1b021ef
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-819,8
+819,13
@@
struct file_struct *make_file(char *fname, struct file_list *flist,
if (check_exclude_file(thisname, S_ISDIR(st.st_mode) != 0, exclude_level))
return NULL;
if (check_exclude_file(thisname, S_ISDIR(st.st_mode) != 0, exclude_level))
return NULL;
- if (lp_ignore_nonreadable(module_id) && access(thisname, R_OK) != 0)
- return NULL;
+ if (lp_ignore_nonreadable(module_id)) {
+#if SUPPORT_LINKS
+ if (!S_ISLNK(st.st_mode))
+#endif
+ if (access(thisname, R_OK) != 0)
+ return NULL;
+ }
skip_excludes:
skip_excludes: