aboutsummaryrefslogtreecommitdiff
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)
downloadbusybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.gz
busybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.bz2
busybox-w32-aff114c33d2b8879233fa513e6d760d0ef99b632.zip
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 @@
2/* 2/*
3 * Utility routines. 3 * Utility routines.
4 * 4 *
5 * create raw socket for icmp (IPv6 version) protocol test permision 5 * create raw socket for icmp (IPv6 version) protocol test permission
6 * and drop root privilegies if running setuid 6 * and drop root privileges if running setuid
7 * 7 *
8 */ 8 */
9 9
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 @@
2/* 2/*
3 * Utility routines. 3 * Utility routines.
4 * 4 *
5 * create raw socket for icmp protocol test permision 5 * create raw socket for icmp protocol test permission
6 * and drop root privilegies if running setuid 6 * and drop root privileges if running setuid
7 * 7 *
8 */ 8 */
9 9
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 @@
21/* Seems silly to copyright a global variable. ;-) Oh well. 21/* Seems silly to copyright a global variable. ;-) Oh well.
22 * 22 *
23 * At least one applet (cmp) returns a value different from the typical 23 * At least one applet (cmp) returns a value different from the typical
24 * EXIT_FAILURE values (1) when an error occurs. So, make it configureable 24 * EXIT_FAILURE values (1) when an error occurs. So, make it configurable
25 * by the applet. I suppose we could use a wrapper function to set it, but 25 * by the applet. I suppose we could use a wrapper function to set it, but
26 * that too seems silly. 26 * that too seems silly.
27 */ 27 */
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 @@
20 * 20 *
21 */ 21 */
22 22
23/* A number of standard utilites can accept multiple command line args 23/* A number of standard utilities can accept multiple command line args
24 * of '-' for stdin, according to SUSv3. So we encapsulate the check 24 * of '-' for stdin, according to SUSv3. So we encapsulate the check
25 * here to save a little space. 25 * here to save a little space.
26 */ 26 */
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 @@
25 25
26/* 26/*
27 * Return TRUE if a fileName is a directory. 27 * Return TRUE if a fileName is a directory.
28 * Nonexistant files return FALSE. 28 * Nonexistent files return FALSE.
29 */ 29 */
30int is_directory(const char *fileName, const int followLinks, struct stat *statBuf) 30int is_directory(const char *fileName, const int followLinks, struct stat *statBuf)
31{ 31{
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 @@
31 * sure that (flags & FILEUTILS_RECUR) is non-zero. Newly created 31 * sure that (flags & FILEUTILS_RECUR) is non-zero. Newly created
32 * intermediate directories will have at least u+wx perms. 32 * intermediate directories will have at least u+wx perms.
33 * 33 *
34 * To set specific permisions on 'path', pass the appropriate 'mode' 34 * To set specific permissions on 'path', pass the appropriate 'mode'
35 * val. Otherwise, pass -1 to get default permisions. 35 * val. Otherwise, pass -1 to get default permissions.
36 */ 36 */
37 37
38#include <errno.h> 38#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 @@
28 * reasons for failure which don't set the streams error indicator, 28 * reasons for failure which don't set the streams error indicator,
29 * SUSv3 lists EILSEQ, EINVAL, and ENOMEM. 29 * SUSv3 lists EILSEQ, EINVAL, and ENOMEM.
30 * 30 *
31 * In some cases, it would be desireable to have a group of *printf() 31 * In some cases, it would be desirable to have a group of *printf()
32 * functions available that _always_ set the stream error indicator on 32 * functions available that _always_ set the stream error indicator on
33 * failure. That would allow us to defer error checking until applet 33 * failure. That would allow us to defer error checking until applet
34 * exit. Unfortunately, there is no standard way of setting a streams 34 * exit. Unfortunately, there is no standard way of setting a streams
@@ -38,7 +38,7 @@
38 * free to send patches for stdio implementations where the following 38 * free to send patches for stdio implementations where the following
39 * fails. 39 * fails.
40 * 40 *
41 * NOTE: None of this is threadsafe. As busybox is a nonthreaded app, 41 * NOTE: None of this is thread safe. As busybox is a non-threaded app,
42 * that isn't currently an issue. 42 * that isn't currently an issue.
43 */ 43 */
44 44
@@ -109,7 +109,7 @@
109 * 109 *
110 * Some example bugs as of March 12, 2003... 110 * Some example bugs as of March 12, 2003...
111 * 1) fputc() doesn't set the error indicator on failure. 111 * 1) fputc() doesn't set the error indicator on failure.
112 * 2) freopen() doesn't maintain the same stream object, contary to 112 * 2) freopen() doesn't maintain the same stream object, contrary to
113 * standards. This makes it useless in its primary role of 113 * standards. This makes it useless in its primary role of
114 * reassociating stdin/stdout/stderr. 114 * reassociating stdin/stdout/stderr.
115 * 3) printf() often fails to correctly format output when conversions 115 * 3) printf() often fails to correctly format output when conversions
@@ -123,7 +123,7 @@
123#error dietlibc is currently not supported. Please see the commented source. 123#error dietlibc is currently not supported. Please see the commented source.
124 124
125#else /* some other lib */ 125#else /* some other lib */
126/* Please see the comments for the above supported libaries for examples 126/* Please see the comments for the above supported libraries for examples
127 * of what is required to support your stdio implementation. 127 * of what is required to support your stdio implementation.
128 */ 128 */
129#error Your stdio library is currently not supported. Please see the commented source. 129#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)
43 return 1; 43 return 1;
44} 44}
45 45
46/* test mode = 1 is the same as offical run_parts 46/* test mode = 1 is the same as official run_parts
47 * test_mode = 2 means to fail siliently on missing directories 47 * test_mode = 2 means to fail silently on missing directories
48 */ 48 */
49 49
50extern int run_parts(char **args, const unsigned char test_mode, char **env) 50extern 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 @@
1/* 1/*
2 * Rexec program for system have fork() as vfork() with foregound option 2 * Rexec program for system have fork() as vfork() with foreground option
3 * 3 *
4 * Copyright (C) Vladimir N. Oleynik <dzo@simtreas.ru> 4 * Copyright (C) Vladimir N. Oleynik <dzo@simtreas.ru>
5 * Copyright (C) 2003 Russ Dill <Russ.Dill@asu.edu> 5 * Copyright (C) 2003 Russ Dill <Russ.Dill@asu.edu>
6 * 6 *
7 * daemon() portion taken from uclibc: 7 * daemon() portion taken from uClibc:
8 * 8 *
9 * Copyright (c) 1991, 1993 9 * Copyright (c) 1991, 1993
10 * The Regents of the University of California. All rights reserved. 10 * 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 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * warn_ingoring_args implementations for busybox 3 * warn_ignoring_args implementation for busybox
4 * 4 *
5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> 5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
6 * 6 *
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 @@
2/* 2/*
3 * Utility routines. 3 * Utility routines.
4 * 4 *
5 * Connect to host at port using address resolusion from getaddrinfo 5 * Connect to host at port using address resolution from getaddrinfo
6 * 6 *
7 */ 7 */
8 8