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:
6efe941
)
Must check FLAG_MOUNT_POINT in delete_in_dir() to avoid starting a
author
Wayne Davison
<wayned@samba.org>
Sun, 22 May 2005 17:19:16 +0000
(17:19 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 22 May 2005 17:19:16 +0000
(17:19 +0000)
descent into a mounted directory when -x is specified.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
7636784
..
ec5a4d5
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-260,7
+260,7
@@
static void delete_in_dir(struct file_list *flist, char *fbuf,
* from the filesystem. */
for (i = dirlist->count; i--; ) {
struct file_struct *fp = dirlist->files[i];
- if (!fp->basename)
+ if (!fp->basename
|| fp->flags & FLAG_MOUNT_POINT
)
continue;
if (flist_find(flist, fp) < 0) {
int mode = fp->mode;