On Sat, 2008-01-26 at 16:43 -0500, Matt McCutchen wrote:
> if (mac && N == "com.apple.crtime96")
> getattrlist(ATTR_CMN_CRTIME);
> else if (mac < 10.4) {
> if (N == "com.apple.FinderInfo")
> getattrlist(ATTR_CMN_FNDRINFO);
> else if (N == "com.apple.ResourceFork")
> // I'm not sure of the API to access the resource fork.
> // More cases here?
> else
> // No other xattrs exist.
> } else
> getxattr(N);
Also, this would be a good opportunity to try to understand why the
current creation-time code slows rsync down considerably and avoid the
performance problem in the new code.
Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html