From: Wayne Davison Date: Tue, 16 Oct 2007 16:00:34 +0000 (+0000) Subject: We now report symlink mode changes if HAVE_SETATTRLIST is defined. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/5cefa088e21d994d6721e5edbd529f9aee61caa8 We now report symlink mode changes if HAVE_SETATTRLIST is defined. --- diff --git a/generator.c b/generator.c index 6a131540..c10685ad 100644 --- a/generator.c +++ b/generator.c @@ -562,7 +562,7 @@ void itemize(const char *fnamecmp, struct file_struct *file, int ndx, int statre && (!(iflags & ITEM_XNAME_FOLLOWS) || *xname)) || (keep_time && cmp_time(file->modtime, sxp->st.st_mtime) != 0)) iflags |= ITEM_REPORT_TIME; -#ifndef HAVE_LCHMOD +#if !defined HAVE_LCHMOD && !defined HAVE_SETATTRLIST if (S_ISLNK(file->mode)) { ; } else