aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 20:17:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 20:17:55 +0000
commita1bccc0ba82cc2eef117bb90cd33867df35ad33a (patch)
treeb0cd49908a23f040419e14f3678651005416d2fa /archival
parent9457e703570524e8bdf36e711445f49e4f9f54d9 (diff)
downloadbusybox-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.tar.gz
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.in2
-rw-r--r--archival/libunarchive/get_header_tar.c4
-rw-r--r--archival/tar.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/archival/Config.in b/archival/Config.in
index 7810c354d..e3f6239f2 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -189,7 +189,7 @@ config CONFIG_FEATURE_TAR_COMPRESS
If you enable this option tar will be able to call uncompress,
when extracting .tar.Z archives.
-config CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+config CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
bool " Enable support for old tar header format"
default N
depends on CONFIG_TAR
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)
* 0's are for the old tar format
*/
if (strncmp(tar.formated.magic, "ustar", 5) != 0) {
-#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
if (strncmp(tar.formated.magic, "\0\0\0\0\0", 5) != 0)
#endif
bb_error_msg_and_die("Invalid tar magic");
@@ -144,7 +144,7 @@ char get_header_tar(archive_handle_t *archive_handle)
/* Reserved for high performance files, treat as normal file */
case 0:
case '0':
-#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
+#ifdef CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
if (last_char_is(file_header->name, '/')) {
file_header->mode |= S_IFDIR;
} else
diff --git a/archival/tar.c b/archival/tar.c
index ab4d1f266..9d0a7c5e4 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -44,7 +44,7 @@
/* Tar file constants */
# define TAR_MAGIC "ustar" /* ustar and a null */
-# define TAR_VERSION " " /* Be compatable with GNU tar format */
+# define TAR_VERSION " " /* Be compatible with GNU tar format */
#define TAR_BLOCK_SIZE 512
#define TAR_MAGIC_LEN 6