diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 20:17:55 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 20:17:55 +0000 |
commit | a1bccc0ba82cc2eef117bb90cd33867df35ad33a (patch) | |
tree | b0cd49908a23f040419e14f3678651005416d2fa /archival/libunarchive | |
parent | 9457e703570524e8bdf36e711445f49e4f9f54d9 (diff) | |
download | busybox-w32-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.tar.gz busybox-w32-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.tar.bz2 busybox-w32-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.zip |
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index 682179a02..cd38f4560 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c | |||
@@ -80,7 +80,7 @@ char get_header_tar(archive_handle_t *archive_handle) | |||
80 | * 0's are for the old tar format | 80 | * 0's are for the old tar format |
81 | */ | 81 | */ |
82 | if (strncmp(tar.formated.magic, "ustar", 5) != 0) { | 82 | if (strncmp(tar.formated.magic, "ustar", 5) != 0) { |
83 | #ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY | 83 | #ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY |
84 | if (strncmp(tar.formated.magic, "\0\0\0\0\0", 5) != 0) | 84 | if (strncmp(tar.formated.magic, "\0\0\0\0\0", 5) != 0) |
85 | #endif | 85 | #endif |
86 | bb_error_msg_and_die("Invalid tar magic"); | 86 | bb_error_msg_and_die("Invalid tar magic"); |
@@ -144,7 +144,7 @@ char get_header_tar(archive_handle_t *archive_handle) | |||
144 | /* Reserved for high performance files, treat as normal file */ | 144 | /* Reserved for high performance files, treat as normal file */ |
145 | case 0: | 145 | case 0: |
146 | case '0': | 146 | case '0': |
147 | #ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY | 147 | #ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY |
148 | if (last_char_is(file_header->name, '/')) { | 148 | if (last_char_is(file_header->name, '/')) { |
149 | file_header->mode |= S_IFDIR; | 149 | file_header->mode |= S_IFDIR; |
150 | } else | 150 | } else |