summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_platform.h
Commit message (Collapse)AuthorAgeFilesLines
* Consistify: #define gets 1 tab character afterwardskientzle2004-05-031-37/+37
| | | | Pointed out by: Simon Nielsen
* More portability improvements, thanks to Juergen Lock.kientzle2004-04-211-6/+33
| | | | | | High-resolution mtime/ctime/atime is not POSIX-standard, so hide set/get of high-resolution time fields behind easily-mutable macros. That makes it easier to change how those fields are accessed.
* Only enable the ACL restore logic on FreeBSD versions >= 5.0.kientzle2004-04-161-0/+3
| | | | | | | | | Earlier versions of FreeBSD don't support ACLs. Note that the ACL support code in archive_entry is standalone code and unaffected by this. (In particular, it should be possible to manipulate archives containing ACLs even if the ACLs cannot be restored on the current system.)
* Linux still uses 32-bit off_t by default. Ask for 64-bit off_t onkientzle2004-04-071-0/+1
| | | | Linux.
* Just use autoconf-compatible feature macros; don't try to be clever.kientzle2004-03-221-2/+3
|
* Bug: Standard C still requires declarations to precede statements. <sigh>kientzle2004-03-201-0/+2
| | | | | Portability: Eliminate an accidental __unused, accomodate systems with non-POSIX strerror_r
* Many fixes:kientzle2004-03-191-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disabled shared-library building, as some API breakage is still likely. (I didn't realize it was turned on by default.) If you have an existing /usr/lib/libarchive.so.2, I recommend deleting it. * Pax interchange format now correctly stores and reads UTF8 for extended attributes. In particular, pax format can portably handle arbitrarily long pathnames containing arbitrary characters. * Library compiles cleanly at -O2, -O3, and WARNS=6 on all FreeBSD-CURRENT platforms. * Minor portability improvements inspired by Juergen Lock and Greg Lewis. (Less reliance on stdint.h, isolating of various portability-challenged constructs.) * archive_entry transparently converts multi-byte <-> wide character strings, allowing clients and format handlers to deal with either one, as appropriate. * Support for reading 'L' and 'K' entries in standard tar archives for star compatibility. * Recognize (but don't yet handle) ACL entries from Solaris tar. * Pushed format-specific data for format readers down into format-specific storage and out of library-global storage. This should make it easier to maintain individual formats without mucking with the core library management. * Documentation updates to track the above changes. * Updates to tar.5 to correct a few mistakes and add some additional information about GNU tar and Solaris tar formats. Notes: * The basic 'tar' reader is getting more general; there's not much point in keeping the 'gnutar' reader separate. Merging the two would lose a bunch of duplicate code. * The libc ACL support is looking increasingly inadequate for my needs here. I might need to assemble some fairly significant code for parsing and building ACLs. <sigh>
* Many fixes.kientzle2004-03-091-0/+73
Portability: Thanks to Juergen Lock, libarchive now compiles cleanly on Linux. Along the way, I cleaned up a lot of error return codes and reorganized some code to simplify conditional compilation of certain sections. Bug fixes: * pax format now actually stores filenames that are 101-154 characters long. * pax format now allows newline characters in extended attributes (this fixes a long-standing bug in ACL handling) * mtime/atime are now restored for directories * directory list is now sorted prior to fix-up to permit correct restore of non-writable dir heirarchies
OpenPOWER on IntegriCloud