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:
5c6fc4a
)
Use the new PERMS_REPORT flag when calling set_perms().
author
Wayne Davison
<wayned@samba.org>
Thu, 13 May 2004 06:55:01 +0000
(06:55 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 13 May 2004 06:55:01 +0000
(06:55 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
59e5bd9
..
4a6d82e
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-351,7
+351,8
@@
void recv_generator(char *fname, struct file_struct *file, int i, int f_out)
* right place -- no further action
* required. */
if (strcmp(lnk,file->u.link) == 0) {
* right place -- no further action
* required. */
if (strcmp(lnk,file->u.link) == 0) {
- set_perms(fname,file,&st,1);
+ set_perms(fname, file, &st,
+ PERMS_REPORT);
return;
}
}
return;
}
}
@@
-391,7
+392,7
@@
void recv_generator(char *fname, struct file_struct *file, int i, int f_out)
rprintf(FINFO,"%s\n",fname);
}
} else {
rprintf(FINFO,"%s\n",fname);
}
} else {
- set_perms(fname,
file,&st,1
);
+ set_perms(fname,
file, &st, PERMS_REPORT
);
}
return;
}
}
return;
}
@@
-473,7
+474,7
@@
void recv_generator(char *fname, struct file_struct *file, int i, int f_out)
if (skip_file(fname, file, &st)) {
if (fnamecmp == fname)
if (skip_file(fname, file, &st)) {
if (fnamecmp == fname)
- set_perms(fname,
file,&st,1
);
+ set_perms(fname,
file, &st, PERMS_REPORT
);
return;
}
return;
}