Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5564fe8
)
A fix to define SUPPORT_FLAGS earlier in rsync.h.
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Mar 2006 21:59:35 +0000
(21:59 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Mar 2006 21:59:35 +0000
(21:59 +0000)
flags.diff
patch
|
blob
|
blame
|
history
diff --git
a/flags.diff
b/flags.diff
index
a885d7e
..
60b48c9
100644
(file)
--- a/
flags.diff
+++ b/
flags.diff
@@
-297,7
+297,18
@@
Modified from a patch that was written by Rolf Grossmann:
/* These flags are used in the live flist data. */
/* These flags are used in the live flist data. */
-@@ -519,6 +520,9 @@ struct file_struct {
+@@ -337,6 +338,10 @@ enum msgcode {
+ #define schar char
+ #endif
+
++#ifdef HAVE_CHFLAGS
++#define SUPPORT_FLAGS 1
++#endif
++
+ /* Find a variable that is either exactly 32-bits or longer.
+ * If some code depends on 32-bit truncation, it will need to
+ * take special action in a "#if SIZEOF_INT32 > 4" section. */
+@@ -519,6 +524,9 @@ struct file_struct {
struct hlink *links;
} link_u;
time_t modtime;
struct hlink *links;
} link_u;
time_t modtime;
@@
-307,16
+318,6
@@
Modified from a patch that was written by Rolf Grossmann:
uid_t uid;
gid_t gid;
mode_t mode;
uid_t uid;
gid_t gid;
mode_t mode;
-@@ -702,6 +706,9 @@ extern int errno;
- #ifdef HAVE_LINK
- #define SUPPORT_HARD_LINKS 1
- #endif
-+#ifdef HAVE_CHFLAGS
-+#define SUPPORT_FLAGS 1
-+#endif
-
- #ifdef HAVE_SIGACTION
- #define SIGACTION(n,h) sigact.sa_handler=(h), sigaction((n),&sigact,NULL)
--- old/rsync.yo
+++ new/rsync.yo
@@ -322,6 +322,7 @@ to the detailed description below for a
--- old/rsync.yo
+++ new/rsync.yo
@@ -322,6 +322,7 @@ to the detailed description below for a