Xattr on FreeBSD ... Good Luck ?

Wesley W. Terpstra wesley at terpstra.ca
Wed Nov 1 23:24:36 GMT 2006


On Nov 2, 2006, at 12:12 AM, Wesley W. Terpstra wrote:
> Just so you know: there's almost certainly a bug / typo /  
> misunderstanding somewhere in there.

Urp! Found a bug already. Sorry. It will segfault on FreeBSD without  
this small little fix.
<              memmove(&list[off], &list[off+keylen], keylen);
---
 >              memmove(&list[off], &list[off+1], keylen);

This patch is better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd-xattr-better.patch
Type: application/octet-stream
Size: 7509 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20061102/8ee036cb/freebsd-xattr-better.obj
-------------- next part --------------



More information about the rsync mailing list