Hi.
I needed to do this small change to rsync.h to get rsync 2.6.2 to
compile on AIX. The problem is that the extra comma is illegal
(someone forgot to add support for it) in C89, and the AIX compiler do
not accept it. The compiler I'm using is not yet updated to support
C99 where the comma was allowed to stay.
Please apply this patch to the next version of rsync.
diff -ur src-2.6.2/rsync.h src-2.6.2-local/rsync.h
--- src-2.6.2/rsync.h 2004-04-27 03:36:16.000000000 +0200
+++ src-2.6.2-local/rsync.h 2004-08-18 11:36:18.000000000 +0200
@@ -123,7 +123,7 @@
MSG_DATA=0, /* raw data on the multiplexed stream */
MSG_ERROR=FERROR, MSG_INFO=FINFO, MSG_LOG=FLOG, /* remote logging */
MSG_REDO=4, /* reprocess indicated flist index */
- MSG_DONE=5, /* current phase is done */
+ MSG_DONE=5 /* current phase is done */
};
#include "errcode.h"
On Wed, Aug 18, 2004 at 11:46:29AM +0200, Petter Reinholdtsen wrote:> I needed to do this small change to rsync.h to get rsync 2.6.2 to > compile on AIX.I thank you for taking the time to report this, but that bug was fixed in CVS quite a while back. If you would, please test the 2.6.3pre1 release, as we are preparing to release 2.6.3 (download it from the rsync.samba.org web site). ..wayne..
Seemingly Similar Threads
- 2.6.2 patch for AIX
- --delete-sent-files (AKA --move-files)
- Rsync 2.6.9 Develops Conflict Between --stats, I think --delete-after and Local Filesystem Replication
- DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
- Rsync error on client end: unexpected tag 3 [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(843) [sender]