tar: on extract, everything up to and including last ".." is stripped
[oweals/busybox.git] / include / archive.h
index 49c478728af43a0ac46d6da8b8af652d531bfa7e..9fc77e542bcdb188309d5251595c5fc51f77c700 100644 (file)
@@ -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  */