lib/replace: Return size of xattr if size argument is 0
authorAndrew Bartlett <abartlet@samba.org>
Sat, 27 Oct 2012 08:15:58 +0000 (19:15 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 28 Oct 2012 05:32:42 +0000 (16:32 +1100)
commit2756c3ce5c7d5d066dc76592dd1078a8594b983b
tree61f89ddeb82fbcafa7af6cc718ca25a589e78354
parenta7b8d0260a55959c72614251db880fed04a48316
lib/replace: Return size of xattr if size argument is 0

This makes rep_{f,}getxattr a more complete replacement for the linux function.

Andrew Bartlett
lib/replace/xattr.c