aboutsummaryrefslogtreecommitdiff
path: root/src/xattr.c
AgeCommit message (Collapse)Author
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-04-27checksrc: whitespace and code style cleanupDaniel Stenberg
Make everything adhere to the standards upheld by checksrc.pl and now run checksrc from the makefile on debug builds.
2010-11-26xattr: fix compiler warning: enumerated type mixed with another typeYang Tse
2010-11-10xattr: portability fixYang Tse
2010-11-10write extended attributes by using fsetxattrStefan Tomanek
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 caused by moved or deleted files.
2010-11-09Check for getinfo errors before setting attributesDan Fandrich
2010-11-08xattr: use const char * for const stringsDaniel Stenberg
2010-11-05xattr: add configure check and #ifdefsDaniel Stenberg
setxattr is a glibc call to set extended attributes, so configure now checks for it and the code is adapted to only build when the functionality is present.
2010-11-05save metadata to extended file attributesStefan Tomanek
It is often convinient to track back the source of a once downloaded file; this patch makes curl store the source URL and other metadata alongside the retrieved file by using the extended attributes (if supported by the file system and enabled by --xattr).