diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-14 17:51:38 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-14 17:51:38 +0000 |
commit | aff114c33d2b8879233fa513e6d760d0ef99b632 (patch) | |
tree | 101230a8bd16a03319acc4b9b5fb33c33fb58672 /coreutils | |
parent | 4c8b0dd97385b820e28bb8cb2d08ef3bd194a16a (diff) | |
download | busybox-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 'coreutils')
-rw-r--r-- | coreutils/cal.c | 2 | ||||
-rw-r--r-- | coreutils/cmp.c | 2 | ||||
-rw-r--r-- | coreutils/cut.c | 4 | ||||
-rw-r--r-- | coreutils/date.c | 2 | ||||
-rw-r--r-- | coreutils/df.c | 2 | ||||
-rw-r--r-- | coreutils/echo.c | 2 | ||||
-rw-r--r-- | coreutils/env.c | 2 | ||||
-rw-r--r-- | coreutils/expr.c | 22 | ||||
-rw-r--r-- | coreutils/logname.c | 2 | ||||
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 |
10 files changed, 21 insertions, 21 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index cd7be0d30..93c5692d0 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -65,7 +65,7 @@ static const char sep1752[] = { | |||
65 | 65 | ||
66 | static int julian; | 66 | static int julian; |
67 | 67 | ||
68 | /* leap year -- account for gregorian reformation in 1752 */ | 68 | /* leap year -- account for Gregorian reformation in 1752 */ |
69 | #define leap_year(yr) \ | 69 | #define leap_year(yr) \ |
70 | ((yr) <= 1752 ? !((yr) % 4) : \ | 70 | ((yr) <= 1752 ? !((yr) % 4) : \ |
71 | (!((yr) % 4) && ((yr) % 100)) || !((yr) % 400)) | 71 | (!((yr) % 4) && ((yr) % 100)) || !((yr) % 400)) |
diff --git a/coreutils/cmp.c b/coreutils/cmp.c index 43dbc842f..d0fc662a5 100644 --- a/coreutils/cmp.c +++ b/coreutils/cmp.c | |||
@@ -27,7 +27,7 @@ | |||
27 | * | 27 | * |
28 | * Original version majorly reworked for SUSv3 compliance, bug fixes, and | 28 | * Original version majorly reworked for SUSv3 compliance, bug fixes, and |
29 | * size optimizations. Changes include: | 29 | * size optimizations. Changes include: |
30 | * 1) Now correctly distingusishes between errors and actual file differences. | 30 | * 1) Now correctly distinguishes between errors and actual file differences. |
31 | * 2) Proper handling of '-' args. | 31 | * 2) Proper handling of '-' args. |
32 | * 3) Actual error checking of i/o. | 32 | * 3) Actual error checking of i/o. |
33 | * 4) Accept SUSv3 -l option. Note that we use the slightly nicer gnu format | 33 | * 4) Accept SUSv3 -l option. Note that we use the slightly nicer gnu format |
diff --git a/coreutils/cut.c b/coreutils/cut.c index d9f8161f3..d26e80eee 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -70,7 +70,7 @@ static int cmpfunc(const void *a, const void *b) | |||
70 | /* | 70 | /* |
71 | * parse_lists() - parses a list and puts values into startpos and endpos. | 71 | * parse_lists() - parses a list and puts values into startpos and endpos. |
72 | * valid list formats: N, N-, N-M, -M | 72 | * valid list formats: N, N-, N-M, -M |
73 | * more than one list can be seperated by commas | 73 | * more than one list can be separated by commas |
74 | */ | 74 | */ |
75 | static void parse_lists(char *lists) | 75 | static void parse_lists(char *lists) |
76 | { | 76 | { |
@@ -79,7 +79,7 @@ static void parse_lists(char *lists) | |||
79 | char *junk; | 79 | char *junk; |
80 | int s = 0, e = 0; | 80 | int s = 0, e = 0; |
81 | 81 | ||
82 | /* take apart the lists, one by one (they are seperated with commas */ | 82 | /* take apart the lists, one by one (they are separated with commas */ |
83 | while ((ltok = strsep(&lists, ",")) != NULL) { | 83 | while ((ltok = strsep(&lists, ",")) != NULL) { |
84 | 84 | ||
85 | /* it's actually legal to pass an empty list */ | 85 | /* it's actually legal to pass an empty list */ |
diff --git a/coreutils/date.c b/coreutils/date.c index 6edca5b15..26251c37b 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -42,7 +42,7 @@ | |||
42 | /* Input parsing code is always bulky - used heavy duty libc stuff as | 42 | /* Input parsing code is always bulky - used heavy duty libc stuff as |
43 | much as possible, missed out a lot of bounds checking */ | 43 | much as possible, missed out a lot of bounds checking */ |
44 | 44 | ||
45 | /* Default input handling to save suprising some people */ | 45 | /* Default input handling to save surprising some people */ |
46 | 46 | ||
47 | static struct tm *date_conv_time(struct tm *tm_time, const char *t_string) | 47 | static struct tm *date_conv_time(struct tm *tm_time, const char *t_string) |
48 | { | 48 | { |
diff --git a/coreutils/df.c b/coreutils/df.c index 9d53f2bc4..cff69fe1a 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | 27 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) |
28 | * | 28 | * |
29 | * Size reduction. Removed floating point dependency. Added error checking | 29 | * Size reduction. Removed floating point dependency. Added error checking |
30 | * on output. Output stats on 0-sized filesystems if specificly listed on | 30 | * on output. Output stats on 0-sized filesystems if specifically listed on |
31 | * the command line. Properly round *-blocks, Used, and Available quantities. | 31 | * the command line. Properly round *-blocks, Used, and Available quantities. |
32 | */ | 32 | */ |
33 | 33 | ||
diff --git a/coreutils/echo.c b/coreutils/echo.c index 26a6fbf81..539640fb0 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | 28 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) |
29 | * | 29 | * |
30 | * Because of behavioral differences, implemented configureable SUSv3 | 30 | * Because of behavioral differences, implemented configurable SUSv3 |
31 | * or 'fancy' gnu-ish behaviors. Also, reduced size and fixed bugs. | 31 | * or 'fancy' gnu-ish behaviors. Also, reduced size and fixed bugs. |
32 | * 1) In handling '\c' escape, the previous version only suppressed the | 32 | * 1) In handling '\c' escape, the previous version only suppressed the |
33 | * trailing newline. SUSv3 specifies _no_ output after '\c'. | 33 | * trailing newline. SUSv3 specifies _no_ output after '\c'. |
diff --git a/coreutils/env.c b/coreutils/env.c index 1e95f819c..a63f421d7 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | /* | 36 | /* |
37 | * Modified by Vladimir Oleynik <andersen@codepoet.org> (C) 2003 | 37 | * Modified by Vladimir Oleynik <andersen@codepoet.org> (C) 2003 |
38 | * - corretion "-" option usage | 38 | * - correct "-" option usage |
39 | * - multiple "-u unsetenv" support | 39 | * - multiple "-u unsetenv" support |
40 | * - GNU long option support | 40 | * - GNU long option support |
41 | * - save errno after exec failed before bb_perror_msg() | 41 | * - save errno after exec failed before bb_perror_msg() |
diff --git a/coreutils/expr.c b/coreutils/expr.c index e5816371a..cbbd4cd03 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
@@ -9,24 +9,24 @@ | |||
9 | * Copyright (c) 2000 Edward Betts <edward@debian.org>. | 9 | * Copyright (c) 2000 Edward Betts <edward@debian.org>. |
10 | * Aug 2003 Vladimir Oleynik - reduced 464 bytes. | 10 | * Aug 2003 Vladimir Oleynik - reduced 464 bytes. |
11 | * | 11 | * |
12 | * this program is free software; you can redistribute it and/or modify | 12 | * This program is free software; you can redistribute it and/or modify |
13 | * it under the terms of the gnu general public license as published by | 13 | * it under the terms of the GNU General Public License as published by |
14 | * the free software foundation; either version 2 of the license, or | 14 | * the Free Software Foundation; either version 2 of the License, or |
15 | * (at your option) any later version. | 15 | * (at your option) any later version. |
16 | * | 16 | * |
17 | * this program is distributed in the hope that it will be useful, | 17 | * This program is distributed in the hope that it will be useful, |
18 | * but without any warranty; without even the implied warranty of | 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | * merchantability or fitness for a particular purpose. see the gnu | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
20 | * general public license for more details. | 20 | * General Public License for more details. |
21 | * | 21 | * |
22 | * you should have received a copy of the gnu general public license | 22 | * You should have received a copy of the GNU General Public License |
23 | * along with this program; if not, write to the free software | 23 | * along with this program; if not, write to the Free Software |
24 | * foundation, inc., 59 temple place, suite 330, boston, ma 02111-1307 usa | 24 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 | * | 25 | * |
26 | */ | 26 | */ |
27 | 27 | ||
28 | /* This program evaluates expressions. Each token (operator, operand, | 28 | /* This program evaluates expressions. Each token (operator, operand, |
29 | * parenthesis) of the expression must be a seperate argument. The | 29 | * parenthesis) of the expression must be a separate argument. The |
30 | * parser used is a reasonably general one, though any incarnation of | 30 | * parser used is a reasonably general one, though any incarnation of |
31 | * it is language-specific. It is especially nice for expressions. | 31 | * it is language-specific. It is especially nice for expressions. |
32 | * | 32 | * |
diff --git a/coreutils/logname.c b/coreutils/logname.c index 9cedff027..ca5eb41cf 100644 --- a/coreutils/logname.c +++ b/coreutils/logname.c | |||
@@ -30,7 +30,7 @@ | |||
30 | * is _not_ the same. Erik apparently made this change almost 3 years | 30 | * is _not_ the same. Erik apparently made this change almost 3 years |
31 | * ago to avoid failing when no utmp was available. However, the | 31 | * ago to avoid failing when no utmp was available. However, the |
32 | * correct course of action wrt SUSv3 for a failing getlogin() is | 32 | * correct course of action wrt SUSv3 for a failing getlogin() is |
33 | * a dianostic message and an error return. | 33 | * a diagnostic message and an error return. |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <stdio.h> | 36 | #include <stdio.h> |
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 3a07da055..bd1c9fc29 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #define FLAG_CHECK 2 | 32 | #define FLAG_CHECK 2 |
33 | #define FLAG_WARN 4 | 33 | #define FLAG_WARN 4 |
34 | 34 | ||
35 | /* This might be usefull elsewhere */ | 35 | /* This might be useful elsewhere */ |
36 | static unsigned char *hash_bin_to_hex(unsigned char *hash_value, | 36 | static unsigned char *hash_bin_to_hex(unsigned char *hash_value, |
37 | unsigned char hash_length) | 37 | unsigned char hash_length) |
38 | { | 38 | { |