From: Wayne Davison Date: Fri, 25 May 2007 14:21:36 +0000 (+0000) Subject: Fixed compile problem that Antti Tapaninen pointed out. X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/commitdiff_plain/30c5d6b495835803d6f139e62b9e6e02b18e89c3 Fixed compile problem that Antti Tapaninen pointed out. --- diff --git a/omit-dir-changes.diff b/omit-dir-changes.diff index bd72e72..04c0a7a 100644 --- a/omit-dir-changes.diff +++ b/omit-dir-changes.diff @@ -36,7 +36,7 @@ To use this patch, run these commands for a successful build: - if (preserve_gid && !(file->flags & FLAG_SKIP_GROUP) - && sxp->st.st_gid != (gid_t)F_GROUP(file)) + if (preserve_gid && !omit_changes -+ && !(file->FLAG_SKIP_GROUP) && sxp->st.st_gid != (gid_t)F_GROUP(file)) ++ && !(file->flags & FLAG_SKIP_GROUP) && sxp->st.st_gid != (gid_t)F_GROUP(file)) iflags |= ITEM_REPORT_GROUP; #ifdef SUPPORT_ACLS if (preserve_acls && !S_ISLNK(file->mode)) {