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
Don't force the user to start from the master branch when any
[rsync/rsync.git]
/
backup.c
diff --git
a/backup.c
b/backup.c
index
a92b2a6
..
f915265
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-97,7
+97,7
@@
int make_bak_dir(const char *fullpath)
char fbuf[MAXPATHLEN], *rel, *end, *p;
struct file_struct *file;
int len = backup_dir_len;
char fbuf[MAXPATHLEN], *rel, *end, *p;
struct file_struct *file;
int len = backup_dir_len;
- statx sx;
+ stat
_
x sx;
while (*fullpath == '.' && fullpath[1] == '/') {
fullpath += 2;
while (*fullpath == '.' && fullpath[1] == '/') {
fullpath += 2;
@@
-192,7
+192,7
@@
static int robust_move(const char *src, char *dst)
* We will move the file to be deleted into a parallel directory tree. */
static int keep_backup(const char *fname)
{
* We will move the file to be deleted into a parallel directory tree. */
static int keep_backup(const char *fname)
{
- statx sx;
+ stat
_
x sx;
struct file_struct *file;
char *buf;
int kept = 0;
struct file_struct *file;
char *buf;
int kept = 0;