acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-devel] [PATCH] attr: refer to ENODATA instead of ENOATTR in man


From: Mike Frysinger
Subject: Re: [Acl-devel] [PATCH] attr: refer to ENODATA instead of ENOATTR in man pages
Date: Thu, 27 Mar 2014 02:19:43 -0400
User-agent: KMail/4.12.3 (Linux/3.13.0; KDE/4.12.3; x86_64; ; )

On Tue 21 Jan 2014 14:27:33 Kamil Dudka wrote:
> The ENOATTR alias is only provided if <attr/xattr.h> is included, not
> with the more standard <sys/xattr.h> header file.  ENODATA is correct
> in both cases.

well, that's the case if the OS doesn't support ENOATTR, so the library uses 
ENODATA in its place.  if the OS does have its own, then we return ENOATTR 
everywhere, so checking ENODATA won't help.

it might be the case on Linux that ENOATTR == ENODATA, but i think the goal is 
for libattr to be more than Linux.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]