aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_entry.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-03-09 19:50:41 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-03-09 19:50:41 +0000
commitdf3c1316b07d107960eddb0873b86ed561163949 (patch)
treecdb30a1bca796a2ba7a0c712682c923cc981d32c /lib/libarchive/archive_entry.c
parentf5529ff4ce9c26dbd4daf500af8a528c773b33a2 (diff)
downloadsrc-df3c1316b07d107960eddb0873b86ed561163949.tar.gz
src-df3c1316b07d107960eddb0873b86ed561163949.zip
Many fixes.
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
Notes
Notes: svn path=/head/; revision=126782
Diffstat (limited to 'lib/libarchive/archive_entry.c')
-rw-r--r--lib/libarchive/archive_entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c
index d48ab325a86a..268afe615e39 100644
--- a/lib/libarchive/archive_entry.c
+++ b/lib/libarchive/archive_entry.c
@@ -24,12 +24,12 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include "archive_platform.h"
__FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef DMALLOC
+#ifdef HAVE_DMALLOC
#include <dmalloc.h>
#endif
#include <stdlib.h>