diff options
author | Denys Vlasenko | 2009-12-16 23:18:59 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-12-16 23:18:59 +0100 |
commit | 8a936cfab718aee9f304f1b41e6b16cf6b5999f9 (patch) | |
tree | 5ae3e37a204a8d13e7e70b84a48ec415e464e98a /include | |
parent | 425ad9c93b2736a0ebfbba6267bc1ad56c49d156 (diff) | |
download | busybox-8a936cfab718aee9f304f1b41e6b16cf6b5999f9.zip busybox-8a936cfab718aee9f304f1b41e6b16cf6b5999f9.tar.gz |
tar: add support for --overwrite. +70 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 35ce521..68e83f0 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -58,7 +58,7 @@ typedef struct archive_handle_t { char *ah_buffer; /* Flags and misc. stuff */ - unsigned char ah_flags; + unsigned ah_flags; /* "Private" storage for archivers */ // unsigned char ah_priv_inited; @@ -74,6 +74,7 @@ typedef struct archive_handle_t { #define ARCHIVE_DONT_RESTORE_OWNER (1 << 5) #define ARCHIVE_DONT_RESTORE_PERM (1 << 6) #define ARCHIVE_NUMERIC_OWNER (1 << 7) +#define ARCHIVE_O_TRUNC (1 << 8) /* Info struct unpackers can fill out to inform users of thing like |