From 5e29e263888284b2451debd9e5cb138b48fd293a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 1 Mar 2011 17:21:07 +0100 Subject: tar: on extract, everything up to and including last ".." is stripped function old new delta get_header_tar 1493 1545 +52 Signed-off-by: Denys Vlasenko --- include/archive.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/archive.h b/include/archive.h index 49c478728..9fc77e542 100644 --- a/include/archive.h +++ b/include/archive.h @@ -118,6 +118,8 @@ typedef struct archive_handle_t { #define ARCHIVE_DONT_RESTORE_PERM (1 << 6) #define ARCHIVE_NUMERIC_OWNER (1 << 7) #define ARCHIVE_O_TRUNC (1 << 8) +/* Archiver specific. */ +#define ARCHIVE_TAR__TRUNC_WARNED (1 << 9) /* POSIX tar Header Block, from POSIX 1003.1-1990 */ -- cgit v1.2.3