cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] write extended attributes by using fsetxattr

From: Stefan Tomanek <stefan.tomanek_at_wertarbyte.de>
Date: Wed, 10 Nov 2010 09:27:53 +0100

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