Patches for OS X.

Robert DuToit rdutoit at
Mon May 14 16:17:41 MDT 2012

Hi Tony,

> fileflags and crtimes and hfs-compression patches applied

That should do it. It comes up perfect for me on the Bbouncer tests with those three patches. Mike will speak for himself, but He has done some tweaking with other patches he made to customize the build for Carbon Copy Cloner. There is the "no dot dot" patch which I am not sure was applied to the 3.0.9 rsync. I include it because of some network issues with crazy replicating of hidden files. It patches fine.

Sorry - I forgot the name of who did this one. Let me know if this is now included in 3.0.9, Wayne, or other notables.

best,  Rob

here is the no dot patch:

diff -Naur rsync-3.0.8_orig/receiver.c rsync-3.0.8_nodotdot/receiver.c
--- rsync-3.0.8_orig/receiver.c	2011-04-05 17:12:03.000000000 +1000
+++ rsync-3.0.8_nodotdot/receiver.c	2011-04-05 17:20:40.000000000 +1000
@@ -103,7 +103,10 @@
 	} else
 		f = fname;
-	fnametmp[length++] = '.';
+	if ( f[0]!='.'){
+		fnametmp[length++] = '.';
+	}
 	/* The maxname value is bufsize, and includes space for the '\0'.
 	 * NAME_MAX needs an extra -1 for the name's leading dot. */


On May 14, 2012, at 5:42 PM, Tony Reed wrote:

> What patch files are necessary to build rsync-3.0.9 for OS X 10.6.8 (Darwin 10.8.0)?
> Mr. Bombich maintains an excellent page about this, but it's a bit out of date, methinks, and his instructions point to patch files that return some interesting errors. 
> My rsync-3.0.9 is working just fine, btw, with the fileflags and crtimes and hfs-compression patches applied; I just wondered if the others that he mentioned are needed.
> This is a very useful site that Mr. B. has maintained for several years -- thanks!
> -- 
> Tony Reed
> anthony.reed at
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read:

More information about the rsync mailing list