The test of HAVE_LUTIMES accidentally omitted the 'L'.
[rsync/rsync.git] / backup.c
index a92b2a6..39a6e5a 100644 (file)
--- 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;