cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] write extended attributes by using fsetxattr

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 10 Nov 2010 09:41:30 +0100

On Wednesday 10 November 2010 09:27:53 Stefan Tomanek wrote:
> Dies schrieb Stefan Tomanek (stefan.tomanek_at_wertarbyte.de):
> > Instead of reopening the downloaded file, fsetxattr uses the (already
> > open) file descriptor to attach extended attributes. This makes the
> > procedure more robust against errors from moved or deleted files.
>
> Any objections to this ? I think this might also avoid some problems with
> symlinks etc.

I like the idea, but I didn't test it yet.

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-10