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
Specify an arg sequence that was recently failing to work.
[rsync/rsync.git]
/
backup.c
diff --git
a/backup.c
b/backup.c
index
49985fa
..
7189a5c
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-127,7
+127,7
@@
static int make_bak_dir(char *fullpath)
if (p >= rel) {
/* Try to transfer the directory settings of the
* actual dir that the files are coming from. */
if (p >= rel) {
/* Try to transfer the directory settings of the
* actual dir that the files are coming from. */
- if (
do_stat(rel, &sx.st
) < 0) {
+ if (
x_stat(rel, &sx.st, NULL
) < 0) {
rsyserr(FERROR, errno,
"make_bak_dir stat %s failed",
full_fname(rel));
rsyserr(FERROR, errno,
"make_bak_dir stat %s failed",
full_fname(rel));
@@
-200,7
+200,7
@@
static int keep_backup(const char *fname)
int ret_code;
/* return if no file to keep */
int ret_code;
/* return if no file to keep */
- if (
do_lstat(fname, &sx.st
) < 0)
+ if (
x_lstat(fname, &sx.st, NULL
) < 0)
return 1;
#ifdef SUPPORT_ACLS
sx.acc_acl = sx.def_acl = NULL;
return 1;
#ifdef SUPPORT_ACLS
sx.acc_acl = sx.def_acl = NULL;