diff options
author | Wayne Davison <wayned@samba.org> | 2007-04-24 07:32:44 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-04-24 07:32:44 +0000 |
commit | 9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54 (patch) | |
tree | 17ce2427a5fbcaf3968c2d94635cda239b4f5712 /backup.c | |
parent | 2ed790f3541cd5803b285bb46b2cba02103cc88b (diff) | |
download | android_external_rsync-9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54.tar.gz android_external_rsync-9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54.tar.bz2 android_external_rsync-9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54.zip |
Adding the --fake-super option.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 (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)); @@ -200,7 +200,7 @@ static int keep_backup(const char *fname) 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; |