Larry Doolittle writes:
This is a bulk spelling fix patch against busybox-1.00-pre10.
If anyone gets a corrupted copy (and cares), let me know and
I will make alternate arrangements.
Erik - please apply.
Authors - please check that I didn't corrupt any meaning.
Package importers - see if any of these changes should be
passed to the upstream authors.
I glossed over lots of sloppy capitalizations, missing apostrophes,
mixed American/British spellings, and German-style compound words.
What is "pretect redefined for test" in cmdedit.c?
Good luck on the 1.00 release!
- Larry
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c
index 5966104..d8ff35a 100644
--- a/libbb/create_icmp6_socket.c
+++ b/libbb/create_icmp6_socket.c
@@ -2,8 +2,8 @@
/*
* Utility routines.
*
- * create raw socket for icmp (IPv6 version) protocol test permision
- * and drop root privilegies if running setuid
+ * create raw socket for icmp (IPv6 version) protocol test permission
+ * and drop root privileges if running setuid
*
*/
diff --git a/libbb/create_icmp_socket.c b/libbb/create_icmp_socket.c
index 58d792b..26120a6 100644
--- a/libbb/create_icmp_socket.c
+++ b/libbb/create_icmp_socket.c
@@ -2,8 +2,8 @@
/*
* Utility routines.
*
- * create raw socket for icmp protocol test permision
- * and drop root privilegies if running setuid
+ * create raw socket for icmp protocol test permission
+ * and drop root privileges if running setuid
*
*/
diff --git a/libbb/default_error_retval.c b/libbb/default_error_retval.c
index 7d2d89b..35c34b9 100644
--- a/libbb/default_error_retval.c
+++ b/libbb/default_error_retval.c
@@ -21,7 +21,7 @@
/* Seems silly to copyright a global variable. ;-) Oh well.
*
* At least one applet (cmp) returns a value different from the typical
- * EXIT_FAILURE values (1) when an error occurs. So, make it configureable
+ * EXIT_FAILURE values (1) when an error occurs. So, make it configurable
* by the applet. I suppose we could use a wrapper function to set it, but
* that too seems silly.
*/
diff --git a/libbb/fclose_nonstdin.c b/libbb/fclose_nonstdin.c
index 97e303e..8f489c8 100644
--- a/libbb/fclose_nonstdin.c
+++ b/libbb/fclose_nonstdin.c
@@ -20,7 +20,7 @@
*
*/
-/* A number of standard utilites can accept multiple command line args
+/* A number of standard utilities can accept multiple command line args
* of '-' for stdin, according to SUSv3. So we encapsulate the check
* here to save a little space.
*/
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c
index f3caaf1..7f8f7e4 100644
--- a/libbb/isdirectory.c
+++ b/libbb/isdirectory.c
@@ -25,7 +25,7 @@
/*
* Return TRUE if a fileName is a directory.
- * Nonexistant files return FALSE.
+ * Nonexistent files return FALSE.
*/
int is_directory(const char *fileName, const int followLinks, struct stat *statBuf)
{
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index e3d2c52..710537d 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -31,8 +31,8 @@
* sure that (flags & FILEUTILS_RECUR) is non-zero. Newly created
* intermediate directories will have at least u+wx perms.
*
- * To set specific permisions on 'path', pass the appropriate 'mode'
- * val. Otherwise, pass -1 to get default permisions.
+ * To set specific permissions on 'path', pass the appropriate 'mode'
+ * val. Otherwise, pass -1 to get default permissions.
*/
#include <errno.h>
diff --git a/libbb/printf.c b/libbb/printf.c
index 3c438b2..1156da9 100644
--- a/libbb/printf.c
+++ b/libbb/printf.c
@@ -28,7 +28,7 @@
* reasons for failure which don't set the streams error indicator,
* SUSv3 lists EILSEQ, EINVAL, and ENOMEM.
*
- * In some cases, it would be desireable to have a group of *printf()
+ * In some cases, it would be desirable to have a group of *printf()
* functions available that _always_ set the stream error indicator on
* failure. That would allow us to defer error checking until applet
* exit. Unfortunately, there is no standard way of setting a streams
@@ -38,7 +38,7 @@
* free to send patches for stdio implementations where the following
* fails.
*
- * NOTE: None of this is threadsafe. As busybox is a nonthreaded app,
+ * NOTE: None of this is thread safe. As busybox is a non-threaded app,
* that isn't currently an issue.
*/
@@ -109,7 +109,7 @@
*
* Some example bugs as of March 12, 2003...
* 1) fputc() doesn't set the error indicator on failure.
- * 2) freopen() doesn't maintain the same stream object, contary to
+ * 2) freopen() doesn't maintain the same stream object, contrary to
* standards. This makes it useless in its primary role of
* reassociating stdin/stdout/stderr.
* 3) printf() often fails to correctly format output when conversions
@@ -123,7 +123,7 @@
#error dietlibc is currently not supported. Please see the commented source.
#else /* some other lib */
-/* Please see the comments for the above supported libaries for examples
+/* Please see the comments for the above supported libraries for examples
* of what is required to support your stdio implementation.
*/
#error Your stdio library is currently not supported. Please see the commented source.
diff --git a/libbb/run_parts.c b/libbb/run_parts.c
index 607b841..4c8841f 100644
--- a/libbb/run_parts.c
+++ b/libbb/run_parts.c
@@ -43,8 +43,8 @@
return 1;
}
-/* test mode = 1 is the same as offical run_parts
- * test_mode = 2 means to fail siliently on missing directories
+/* test mode = 1 is the same as official run_parts
+ * test_mode = 2 means to fail silently on missing directories
*/
extern int run_parts(char **args, const unsigned char test_mode, char **env)
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 0601121..80022b3 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -1,10 +1,10 @@
/*
- * Rexec program for system have fork() as vfork() with foregound option
+ * Rexec program for system have fork() as vfork() with foreground option
*
* Copyright (C) Vladimir N. Oleynik <dzo@simtreas.ru>
* Copyright (C) 2003 Russ Dill <Russ.Dill@asu.edu>
*
- * daemon() portion taken from uclibc:
+ * daemon() portion taken from uClibc:
*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
diff --git a/libbb/warn_ignoring_args.c b/libbb/warn_ignoring_args.c
index 223831f..a1fa528 100644
--- a/libbb/warn_ignoring_args.c
+++ b/libbb/warn_ignoring_args.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * warn_ingoring_args implementations for busybox
+ * warn_ignoring_args implementation for busybox
*
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
*
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 4cd22c7..09a1daa 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -2,7 +2,7 @@
/*
* Utility routines.
*
- * Connect to host at port using address resolusion from getaddrinfo
+ * Connect to host at port using address resolution from getaddrinfo
*
*/