aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2004-04-14 17:51:38 +0000
commitaff114c33d2b8879233fa513e6d760d0ef99b632 (patch)
tree101230a8bd16a03319acc4b9b5fb33c33fb58672 /editors
parent4c8b0dd97385b820e28bb8cb2d08ef3bd194a16a (diff)
downloadbusybox-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.gz
busybox-aff114c33d2b8879233fa513e6d760d0ef99b632.tar.bz2
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 'editors')
-rw-r--r--editors/awk.c4
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c12
3 files changed, 9 insertions, 9 deletions
diff --git a/editors/awk.c b/editors/awk.c
index cb74a9832..9905be092 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -784,7 +784,7 @@ static int istrue(var *v) {
return (v->string && *(v->string)) ? 1 : 0;
}
-/* temporary varables allocator. Last allocated should be first freed */
+/* temporary variables allocator. Last allocated should be first freed */
static var *nvalloc(int n) {
nvblock *pb = NULL;
@@ -1386,7 +1386,7 @@ static node *mk_splitter(char *s, tsplitter *spl) {
}
/* use node as a regular expression. Supplied with node ptr and regex_t
- * storage space. Return ptr to regex (if result points to preg, it shuold
+ * storage space. Return ptr to regex (if result points to preg, it should
* be later regfree'd manually
*/
static regex_t *as_regex(node *op, regex_t *preg) {
diff --git a/editors/sed.c b/editors/sed.c
index 168a69c5b..4b1392551 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -210,7 +210,7 @@ static char *copy_parsing_slashn(const char *string, int len)
/*
* index_of_next_unescaped_regexp_delim - walks left to right through a string
* beginning at a specified index and returns the index of the next regular
- * expression delimiter (typically a forward * slash ('/')) not preceeded by
+ * expression delimiter (typically a forward * slash ('/')) not preceded by
* a backslash ('\').
*/
static int index_of_next_unescaped_regexp_delim(const char delimiter,
diff --git a/editors/vi.c b/editors/vi.c
index 0ed9edd6e..c5a37d750 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -19,7 +19,7 @@
*/
static const char vi_Version[] =
- "$Id: vi.c,v 1.35 2004/03/31 11:12:51 andersen Exp $";
+ "$Id: vi.c,v 1.36 2004/04/14 17:51:09 andersen Exp $";
/*
* To compile for standalone use:
@@ -45,7 +45,7 @@ static const char vi_Version[] =
* An "ex" line oriented mode- maybe using "cmdedit"
*/
-//---- Feature -------------- Bytes to immplement
+//---- Feature -------------- Bytes to implement
#ifdef STANDALONE
#define vi_main main
#define CONFIG_FEATURE_VI_COLON // 4288
@@ -641,7 +641,7 @@ static Byte *get_address(Byte *p, int *b, int *e) // get two colon addrs, if pre
p = get_one_address(p, b);
while (isblnk(*p))
p++;
- if (*p == ',') { // is there a address seperator
+ if (*p == ',') { // is there a address separator
p++;
while (isblnk(*p))
p++;
@@ -1452,7 +1452,7 @@ static Byte *new_screen(int ro, int co)
screen = (Byte *) xmalloc(screensize);
// initialize the new screen. assume this will be a empty file.
screen_erase();
- // non-existant text[] lines start with a tilde (~).
+ // non-existent text[] lines start with a tilde (~).
for (li = 1; li < ro - 1; li++) {
screen[(li * co) + 0] = '~';
}
@@ -2528,7 +2528,7 @@ static int file_write(Byte * fn, Byte * first, Byte * last)
//----- Terminal Drawing ---------------------------------------
// The terminal is made up of 'rows' line of 'columns' columns.
-// classicly this would be 24 x 80.
+// classically this would be 24 x 80.
// screen coordinates
// 0,0 ... 0,79
// 1,0 ... 1,79
@@ -3222,7 +3222,7 @@ key_cmd_mode:
case 'f': // f- forward to a user specified char
last_forward_char = get_one_char(); // get the search char
//
- // dont seperate these two commands. 'f' depends on ';'
+ // dont separate these two commands. 'f' depends on ';'
//
//**** fall thru to ... 'i'
case ';': // ;- look at rest of line for last forward char