Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factor out common logic of unchanged_attrs and itemize into report_ATTR
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
84d1287
..
57e3d79
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-383,6
+383,14
@@
enum delret {
#define CAN_CHMOD_SYMLINK 1
#endif
#define CAN_CHMOD_SYMLINK 1
#endif
+#ifdef HAVE_UTIMENSAT
+#ifdef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
+#define ST_MTIME_NSEC st_mtim.tv_nsec
+#elif defined(HAVE_STRUCT_STAT_ST_MTIMENSEC)
+#define ST_MTIME_NSEC st_mtimensec
+#endif
+#endif
+
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
@@
-1036,7
+1044,7
@@
extern int errno;
#ifdef HAVE_READLINK
#define SUPPORT_LINKS 1
#ifdef HAVE_READLINK
#define SUPPORT_LINKS 1
-#if
ndef NO_SYMLINK
_XATTRS
+#if
!defined NO_SYMLINK_XATTRS && !defined NO_SYMLINK_USER
_XATTRS
#define do_readlink(path, buf, bufsiz) readlink(path, buf, bufsiz)
#endif
#endif
#define do_readlink(path, buf, bufsiz) readlink(path, buf, bufsiz)
#endif
#endif