summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
commitaff114c33d2b8879233fa513e6d760d0ef99b632 (patch)
tree101230a8bd16a03319acc4b9b5fb33c33fb58672 /libbb
parent4c8b0dd97385b820e28bb8cb2d08ef3bd194a16a (diff)
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
Diffstat (limited to 'libbb')
-rw-r--r--libbb/create_icmp6_socket.c4
-rw-r--r--libbb/create_icmp_socket.c4
-rw-r--r--libbb/default_error_retval.c2
-rw-r--r--libbb/fclose_nonstdin.c2
-rw-r--r--libbb/isdirectory.c2
-rw-r--r--libbb/make_directory.c4
-rw-r--r--libbb/printf.c8
-rw-r--r--libbb/run_parts.c4
-rw-r--r--libbb/vfork_daemon_rexec.c4
-rw-r--r--libbb/warn_ignoring_args.c2
-rw-r--r--libbb/xconnect.c2
11 files changed, 19 insertions, 19 deletions
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c
index 596610449..d8ff35a0a 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 58d792b1b..26120a66d 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 7d2d89bb5..35c34b916 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 97e303e9c..8f489c879 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 f3caaf178..7f8f7e415 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 e3d2c52b1..710537dd1 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 3c438b2c9..1156da911 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 607b84190..4c8841fe5 100644
--- a/libbb/run_parts.c
+++ b/libbb/run_parts.c
@@ -43,8 +43,8 @@ static int valid_name(const struct dirent *d)
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 0601121ad..80022b390 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 223831fd1..a1fa528f4 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 4cd22c74f..09a1daad1 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
*
*/