* 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
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;
* 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;