We now report symlink mode changes if HAVE_SETATTRLIST is defined.
authorWayne Davison <wayned@samba.org>
Tue, 16 Oct 2007 16:00:34 +0000 (16:00 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 16 Oct 2007 16:00:34 +0000 (16:00 +0000)
generator.c

index 6a13154..c10685a 100644 (file)
@@ -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;
                  && (!(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
                if (S_ISLNK(file->mode)) {
                        ;
                } else