The branch, master has been updated via 0c13e1b3 Prevent unnecessary xattr warning by reordering header inclusion. (#22) from 9da38f2f A few minor man page tweaks.
https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 0c13e1b3f856621b1a3cb70d5efcb500d51e1539 Author: Holger Hoffstätte <hol...@applied-asynchrony.com> Date: Fri Jun 19 17:22:54 2020 +0200 Prevent unnecessary xattr warning by reordering header inclusion. (#22) xattr headers have been provided by glibc (at least on Linux/glibc) for many years now. Reorder the inclusion of xattr headers to attempt compatibility/legacy after the common case. This prevents the warning without changing compatibility to non-glibc systems. * Add dependency on lib/sysxattrs.h header in Makefile Co-authored-by: Wayne Davison <wa...@opencoder.net> ----------------------------------------------------------------------- Summary of changes: Makefile.in | 1 + lib/sysxattrs.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/Makefile.in b/Makefile.in index 17dae3a6..31ddc43b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -100,6 +100,7 @@ rsync$(EXEEXT): $(OBJS) $(OBJS): $(HEADERS) $(CHECK_OBJS): $(HEADERS) +tls.o xattrs.o: lib/sysxattrs.h options.o: latest-year.h help-rsync.h help-rsyncd.h exclude.o: default-cvsignore.h loadparm.o: default-dont-compress.h diff --git a/lib/sysxattrs.h b/lib/sysxattrs.h index 428421a0..024bbd18 100644 --- a/lib/sysxattrs.h +++ b/lib/sysxattrs.h @@ -1,9 +1,9 @@ #ifdef SUPPORT_XATTRS -#if defined HAVE_ATTR_XATTR_H -#include <attr/xattr.h> -#elif defined HAVE_SYS_XATTR_H +#if defined HAVE_SYS_XATTR_H #include <sys/xattr.h> +#elif defined HAVE_ATTR_XATTR_H +#include <attr/xattr.h> #elif defined HAVE_SYS_EXTATTR_H #include <sys/extattr.h> #endif -- The rsync repository.
_______________________________________________ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs