On Sat, Apr 09, 2005 at 10:39:13PM -0400, John E. Malmberg wrote:
Everywhere that RSYNC uses SUPPORT_LINKS and SUPPORT_HARD_LINKS it is
testing if the macros are defined, not what their values are.
Thanks for pointing that out. Attached is the fix I just checked into
CVS.
..wayne..
--- rsync.h 28 Mar 2005 17:08:47 - 1.261
+++ rsync.h 10 Apr 2005 06:21:23 -
@@ -675,8 +675,12 @@ extern char *sys_errlist[];
extern int errno;
#endif
-#define SUPPORT_LINKS HAVE_READLINK
-#define SUPPORT_HARD_LINKS HAVE_LINK
+#ifdef HAVE_READLINK
+#define SUPPORT_LINKS 1
+#endif
+#ifdef HAVE_LINK
+#define SUPPORT_HARD_LINKS 1
+#endif
#define SIGNAL_CAST (RETSIGTYPE (*)())
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html