Making rsync compile under Mac OS X 10.3.9 with extended attributes

Vitorio v.machado at
Sat Feb 16 16:56:50 GMT 2008

v0.3 is here! And bug of invisible files is out!
It was another silly bug...
getattrlist puts in the buffer the length of the data then the data.
setattrlist gets a buffer with only the data... So in the copy the  
data was padded of a long size, and the Finder flags were messed up,  
and sometimes the invisible flag was set...
I've got the clue here 
make-finder-items-invisible-via-terminal/ and more particularly with  
the excelent /Developer/Tools/GetFileInfo who shown all flags padded  
from original and copy.

If you want to test it on a Tiger or Leopard machine, it's possible.  
When configuring, use ./configure --host=powerpc-apple-darwin7.9.0 -- 
disable-acl-support to compile it as if you were using Panther. This  
patch should also work on Jaguar, Puma and even Cheetah. The carbon  
API I used is available since 10.0. So if the rest of rsync doesn't  
use features not available on those systems, it should compile fine.

Well, this version is less buggy, but it still a test version, so as  
always, don't trust it results until checking it's all ok!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync10.3xattr_supportv0.3.diff
Type: application/octet-stream
Size: 19159 bytes
Desc: not available
Url :

More information about the rsync mailing list