summaryrefslogtreecommitdiff
path: root/libarchive/archive_entry_xattr.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code in archive_entry_xattr_add_entry()Graham Percival2016-06-131-3/+0
| | | | | | | | | The code seems to be walking through the linked list beginning at entry->xattr_head, but then it immediately sets xp to be something different. This is 10-year old code; it was added in the first "POSIX.1e-style Extended Attribute support" commit, on March 21 2006: https://svnweb.freebsd.org/base/head/lib/libarchive/archive_entry.c?annotate=156961&pathrev=156961#l1387
* Check for memory allocation errors in archive_entry_xattr_add_entryGraham Percival2016-03-231-4/+2
| | | | Sponsored by: Tarsnap Backup Inc.
* Check for strdup() allocation failureGraham Percival2015-09-071-1/+4
| | | | Sponsored by: Tarsnap Backup Inc.
* Sync $FreeBSD$ version info from FreeBSD SVNTim Kientzle2009-12-301-1/+1
| | | | SVN-Revision: 1786
* Shuffle the major/minor/makedev support a bit; this should workTim Kientzle2009-10-311-7/+0
| | | | | | on both Windows and Haiku. SVN-Revision: 1553
* Separate the xattr management for archive_entry into a separateTim Kientzle2009-05-081-0/+165
source file. The only linkage between the xattr routines and the rest of archive_entry is through public API functions, so this doesn't expose any internal interfaces and will make it easier to extend and modify the xattr management in the future. (In particular, we'll need to add support for looking up specific xattrs by name in the very near future.) SVN-Revision: 1072