diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-16 23:18:59 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-16 23:18:59 +0100 |
commit | 8a936cfab718aee9f304f1b41e6b16cf6b5999f9 (patch) | |
tree | 5ae3e37a204a8d13e7e70b84a48ec415e464e98a /include | |
parent | 425ad9c93b2736a0ebfbba6267bc1ad56c49d156 (diff) | |
download | busybox-w32-8a936cfab718aee9f304f1b41e6b16cf6b5999f9.tar.gz busybox-w32-8a936cfab718aee9f304f1b41e6b16cf6b5999f9.tar.bz2 busybox-w32-8a936cfab718aee9f304f1b41e6b16cf6b5999f9.zip |
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 35ce52181..68e83f01c 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -58,7 +58,7 @@ typedef struct archive_handle_t { | |||
58 | char *ah_buffer; | 58 | char *ah_buffer; |
59 | 59 | ||
60 | /* Flags and misc. stuff */ | 60 | /* Flags and misc. stuff */ |
61 | unsigned char ah_flags; | 61 | unsigned ah_flags; |
62 | 62 | ||
63 | /* "Private" storage for archivers */ | 63 | /* "Private" storage for archivers */ |
64 | // unsigned char ah_priv_inited; | 64 | // unsigned char ah_priv_inited; |
@@ -74,6 +74,7 @@ typedef struct archive_handle_t { | |||
74 | #define ARCHIVE_DONT_RESTORE_OWNER (1 << 5) | 74 | #define ARCHIVE_DONT_RESTORE_OWNER (1 << 5) |
75 | #define ARCHIVE_DONT_RESTORE_PERM (1 << 6) | 75 | #define ARCHIVE_DONT_RESTORE_PERM (1 << 6) |
76 | #define ARCHIVE_NUMERIC_OWNER (1 << 7) | 76 | #define ARCHIVE_NUMERIC_OWNER (1 << 7) |
77 | #define ARCHIVE_O_TRUNC (1 << 8) | ||
77 | 78 | ||
78 | 79 | ||
79 | /* Info struct unpackers can fill out to inform users of thing like | 80 | /* Info struct unpackers can fill out to inform users of thing like |