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
added "ignore errors" option in rsyncd.conf
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
2d1989d
..
947caa7
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-282,7
+282,7
@@
int copy_file(char *source, char *dest, mode_t mode)
char buf[1024 * 8];
int len; /* Number of bytes read into `buf'. */
- ifd =
open(source, O_RDONLY
);
+ ifd =
do_open(source, O_RDONLY, 0
);
if (ifd == -1) {
rprintf(FERROR,"open %s: %s\n",
source,strerror(errno));