cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] save URL to extended file attributes

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 5 Nov 2010 12:13:00 +0100

On Fri November 5 2010 09:05:37 Daniel Stenberg wrote:
> Ah! I wasn't aware this was using a separate lib!

I don't think it was. It looks rather as a mixture to me -- inclusion of
a header provided by libattr, but the library wasn't linked, so it actually
couldn't use anything of its implementation.

> /usr/include/sys/xattr.h is the Linux system header

On my boxes (RHEL, Fedora, Gentoo Linux) the header is provided by glibc.

> /usr/include/attr/xattr.h is the header libattr uses and provides.
>
> Even more reason to do a configure test for this, as I expect that lots of
> people won't have libattr present.

+1

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-05