Bug#531950: attr: FTBFS on GNU/kFreeBSD
nscott at aconex.com
Tue Jun 9 05:31:33 CDT 2009
----- "Christoph Hellwig" <hch at infradead.org> wrote:
> On Tue, Jun 09, 2009 at 10:03:28AM +1000, Nathan Scott wrote:
> > Could someone verify and merge this patch? It looks OK to
> > me.
> Andreas now takes care ot attr. Btw, the submitter should stop that
> stupid GNU wanking - errnos are defined by the kernel so it's a
> FreeBSD issues and has nothing to do with their glibc abuse.
Hmm, I'm not sure what you mean there. AIUI, this code
(strerror_ea) is working around Linux's lack of an ENOATTR
error code ... and on FreeBSD there really is an ENOATTR
(and no ENODATA?) Perhaps a better fix in this case may be
to map strerror_ea directly to strerror for all platforms
const char *strerror_ea(int err)
- if (err == ENODATA)
+ if (err == ENOATTR)
return _("No such attribute");
BTW, which git tree is the canonical acl/attr tree now Andreas?
Is it one of the kernel.org ones (which path?)? thanks.
More information about the xfs