X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e1ac7791fefaf2489d35d6e37707cc7573cade4d..47f43c023bc68f58a1e58501e72276d93876523d:/backup.c diff --git a/backup.c b/backup.c index a92b2a68..39a6e5ae 100644 --- a/backup.c +++ b/backup.c @@ -2,7 +2,7 @@ * Backup handling code. * * Copyright (C) 1999 Andrew Tridgell - * Copyright (C) 2003-2007 Wayne Davison + * Copyright (C) 2003-2008 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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; - statx sx; + stat_x sx; 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) { - statx sx; + stat_x sx; struct file_struct *file; char *buf; int kept = 0;