YAMAMOTO Takashi <y...@mwd.biglobe.ne.jp> wrote:

> > We will need some macro to discover what API is available: FreeBSD-line
> > in 5.x and Linux-like in 6.0.
> i was assuming we have no releases on which the freebsd-style API is
> actually usable.  it it wrong?

Yes, you are right. 

I committed code in glusterfs that used it, but it is #ifndef
HAVE_SYS_XATTR_H, therefore that will automatically revert to
Linux-style API when <sys/xattr.h> is availale.

Therefore we have no problem.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org

Reply via email to