Xattr on FreeBSD ... Good Luck ?

Wayne Davison wayned at samba.org
Thu Nov 2 00:39:29 GMT 2006


On Thu, Nov 02, 2006 at 12:24:36AM +0100, Wesley W. Terpstra wrote:
> Urp! Found a bug already. Sorry. It will segfault on FreeBSD without  
> this small little fix.

One more fix was needed:  the new sys_llistxattr() function needs to
return "len" when it is larger than "size", or longer lists of keys will
not get processed (i.e. we use a size of 0 to ask for the size of the
data).

I like your change that gets rid of the ".0S%" part of the Mac OS keys.

What is your reason for wanting to get rid of the '%' from the fake
stat attribute?  Do some implementations not allow a % in the key?

..wayne..


More information about the rsync mailing list