summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-02 20:17:55 +0000
committerBernhard Reutner-Fischer2006-04-02 20:17:55 +0000
commita1bccc0ba82cc2eef117bb90cd33867df35ad33a (patch)
treeb0cd49908a23f040419e14f3678651005416d2fa
parent9457e703570524e8bdf36e711445f49e4f9f54d9 (diff)
downloadbusybox-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.zip
busybox-a1bccc0ba82cc2eef117bb90cd33867df35ad33a.tar.gz
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
-rw-r--r--Config.in2
-rw-r--r--archival/Config.in2
-rw-r--r--archival/libunarchive/get_header_tar.c4
-rw-r--r--archival/tar.c2
-rw-r--r--coreutils/cp.c2
-rw-r--r--coreutils/install.c2
-rw-r--r--include/libbb.h2
-rw-r--r--include/usage.h2
8 files changed, 9 insertions, 9 deletions
diff --git a/Config.in b/Config.in
index e7207d0..f118923 100644
--- a/Config.in
+++ b/Config.in
@@ -345,7 +345,7 @@ config CONFIG_DEBUG_YANK_SUSv2
bool "Disable obsolete features removed before SUSv3?"
default y
help
- This option will disable backwards compatability with SuSv2,
+ This option will disable backwards compatibility with SuSv2,
specifically, old-style numeric options ('command -1 <file>')
will not be supported in head, tail, and fold. (Note: should
yank from renice too.)
diff --git a/archival/Config.in b/archival/Config.in
index 7810c35..e3f6239 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 682179a..cd38f45 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 ab4d1f2..9d0a7c5 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
diff --git a/coreutils/cp.c b/coreutils/cp.c
index 87f2291..f5baa0d 100644
--- a/coreutils/cp.c
+++ b/coreutils/cp.c
@@ -46,7 +46,7 @@ int cp_main(int argc, char **argv)
}
if (flags & 64) {
/* Make -r a synonym for -R,
- * -r was marked as obsolete in SUSv3, but is included for compatability
+ * -r was marked as obsolete in SUSv3, but is included for compatibility
*/
flags |= FILEUTILS_RECUR;
}
diff --git a/coreutils/install.c b/coreutils/install.c
index e8dd506..7739fb6 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -62,7 +62,7 @@ int install_main(int argc, char **argv)
bb_applet_long_options = install_long_options;
bb_opt_complementally = "?:s--d:d--s";
- /* -c exists for backwards compatability, its needed */
+ /* -c exists for backwards compatibility, its needed */
flags = bb_getopt_ulflags(argc, argv, "cdpsg:m:o:", &gid_str, &mode_str, &uid_str); /* 'a' must be 2nd */
/* preserve access and modification time, this is GNU behaviour, BSD only preserves modification time */
diff --git a/include/libbb.h b/include/libbb.h
index 0ec332b..f444084 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -218,7 +218,7 @@ extern int vdprintf(int d, const char *format, va_list ap);
int nfsmount(const char *spec, const char *node, int *flags,
char **mount_opts, int running_bg);
-/* Include our own copy of struct sysinfo to avoid binary compatability
+/* Include our own copy of struct sysinfo to avoid binary compatibility
* problems with Linux 2.4, which changed things. Grumble, grumble. */
struct sysinfo {
long uptime; /* Seconds since boot */
diff --git a/include/usage.h b/include/usage.h
index c8984e9..0ac0284 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2743,7 +2743,7 @@
USAGE_SORT_BIG("\t-s\tstable (don't sort ties alphabetically)\n") \
"\t-u\tsuppress duplicate lines" \
USAGE_SORT_BIG("\n\t-z\tinput terminated by nulls, not newlines\n") \
- USAGE_SORT_BIG("\t-mST\tignored for GNU compatability") \
+ USAGE_SORT_BIG("\t-mST\tignored for GNU compatibility") \
""
#define sort_example_usage \
"$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n" \