- spelling fixes

This commit is contained in:
Bernhard Reutner-Fischer 2008-02-11 11:44:38 +00:00
parent 83177991c8
commit a985d306a1
10 changed files with 17 additions and 17 deletions

View File

@ -360,7 +360,7 @@ print_long_double(size_t n_bytes, const char *block, const char *fmt_string)
} }
/* print_[named]_ascii are optimized for speed. /* print_[named]_ascii are optimized for speed.
* Remember, someday you may want to pump gigabytes thru this thing. * Remember, someday you may want to pump gigabytes through this thing.
* Saving a dozen of .text bytes here is counter-productive */ * Saving a dozen of .text bytes here is counter-productive */
static void static void

View File

@ -1863,7 +1863,7 @@ static char *text_hole_make(char * p, int size) // at "p", make a 'size' byte ho
} }
// close a hole in text[] // close a hole in text[]
static char *text_hole_delete(char * p, char * q) // delete "p" thru "q", inclusive static char *text_hole_delete(char * p, char * q) // delete "p" through "q", inclusive
{ {
char *src, *dest; char *src, *dest;
int cnt, hole_size; int cnt, hole_size;
@ -3245,7 +3245,7 @@ static void do_cmd(char c)
// //
// dont separate these two commands. 'f' depends on ';' // dont separate these two commands. 'f' depends on ';'
// //
//**** fall thru to ... ';' //**** fall through to ... ';'
case ';': // ;- look at rest of line for last forward char case ';': // ;- look at rest of line for last forward char
if (cmdcnt-- > 1) { if (cmdcnt-- > 1) {
do_cmd(';'); do_cmd(';');
@ -3456,7 +3456,7 @@ static void do_cmd(char c)
break; break;
case 'A': // A- append at e-o-l case 'A': // A- append at e-o-l
dot_end(); // go to e-o-l dot_end(); // go to e-o-l
//**** fall thru to ... 'a' //**** fall through to ... 'a'
case 'a': // a- append after current char case 'a': // a- append after current char
if (*dot != '\n') if (*dot != '\n')
dot++; dot++;
@ -3511,7 +3511,7 @@ static void do_cmd(char c)
case 'I': // I- insert before first non-blank case 'I': // I- insert before first non-blank
dot_begin(); // 0 dot_begin(); // 0
dot_skip_over_ws(); dot_skip_over_ws();
//**** fall thru to ... 'i' //**** fall through to ... 'i'
case 'i': // i- insert before current char case 'i': // i- insert before current char
case VI_K_INSERT: // Cursor Key Insert case VI_K_INSERT: // Cursor Key Insert
dc_i: dc_i:

View File

@ -229,7 +229,7 @@ static int grep_file(FILE *file)
/* if we're just printing filenames, we stop after the first match */ /* if we're just printing filenames, we stop after the first match */
if (PRINT_FILES_WITH_MATCHES) { if (PRINT_FILES_WITH_MATCHES) {
puts(cur_file); puts(cur_file);
/* fall thru to "return 1" */ /* fall through to "return 1" */
} }
/* OPT_L aka PRINT_FILES_WITHOUT_MATCHES: return early */ /* OPT_L aka PRINT_FILES_WITHOUT_MATCHES: return early */
return 1; /* one match */ return 1; /* one match */

View File

@ -100,7 +100,7 @@ static void rewrite(FS * fs)
if (!fu->nextpr) if (!fu->nextpr)
fu->nextpr = pr; fu->nextpr = pr;
/* ignore nextpr -- its unused inside the loop and is /* ignore nextpr -- its unused inside the loop and is
* uninitialized 1st time thru. * uninitialized 1st time through.
*/ */
/* bb_dump_skip preceding text and up to the next % sign */ /* bb_dump_skip preceding text and up to the next % sign */

View File

@ -689,7 +689,7 @@ config FETCHMAIL
bool "fetchmail" bool "fetchmail"
default n default n
help help
Barebones fetchmail. Barebone fetchmail.
config FEATURE_FETCHMAIL_APOP config FEATURE_FETCHMAIL_APOP
bool "Support APOP authentication" bool "Support APOP authentication"
@ -699,11 +699,11 @@ config FEATURE_FETCHMAIL_APOP
Support secure APOP authentication. Support secure APOP authentication.
config FEATURE_FETCHMAIL_FILTER config FEATURE_FETCHMAIL_FILTER
bool "Pipe thru external filter" bool "Pipe through external filter"
default n default n
depends on FETCHMAIL depends on FETCHMAIL
help help
Support piping incoming messages thru external filter. Support piping incoming messages through external filter.
config SLATTACH config SLATTACH
bool "slattach" bool "slattach"

View File

@ -77,7 +77,7 @@ struct globals {
unsigned wrote_out; /* total stdout bytes */ unsigned wrote_out; /* total stdout bytes */
unsigned wrote_net; /* total net bytes */ unsigned wrote_net; /* total net bytes */
#endif #endif
/* ouraddr is never NULL and goes thru three states as we progress: /* ouraddr is never NULL and goes through three states as we progress:
1 - local address before bind (IP/port possibly zero) 1 - local address before bind (IP/port possibly zero)
2 - local address after bind (port is nonzero) 2 - local address after bind (port is nonzero)
3 - local address after connect??/recv/accept (IP and port are nonzero) */ 3 - local address after connect??/recv/accept (IP and port are nonzero) */

View File

@ -481,12 +481,12 @@ int sendgetmail_main(int argc, char **argv)
// make tempnam(dir, salt) respect dir argument // make tempnam(dir, salt) respect dir argument
unsetenv("TMPDIR"); unsetenv("TMPDIR");
// TODO: piping thru external filter argv... if *argv // TODO: piping through external filter argv... if *argv
// cache fetch command // cache fetch command
{ {
const char *retr = (opts & OPTF_t) ? "TOP %u 0" : "RETR %u"; const char *retr = (opts & OPTF_t) ? "TOP %u 0" : "RETR %u";
// loop thru messages // loop through messages
for (; nmsg; nmsg--) { for (; nmsg; nmsg--) {
int fd; int fd;
char tmp_name[sizeof("tmp/XXXXXX")]; char tmp_name[sizeof("tmp/XXXXXX")];

View File

@ -614,7 +614,7 @@ int wget_main(int argc, char **argv)
case 206: case 206:
if (beg_range) if (beg_range)
break; break;
/*FALLTHRU*/ /* fall through */
default: default:
/* Show first line only and kill any ESC tricks */ /* Show first line only and kill any ESC tricks */
buf[strcspn(buf, "\n\r\x1b")] = '\0'; buf[strcspn(buf, "\n\r\x1b")] = '\0';
@ -685,7 +685,7 @@ int wget_main(int argc, char **argv)
case 331: case 331:
if (ftpcmd("PASS ", str, sfp, buf) == 230) if (ftpcmd("PASS ", str, sfp, buf) == 230)
break; break;
/* FALLTHRU (failed login) */ /* fall through (failed login) */
default: default:
bb_error_msg_and_die("ftp login: %s", buf+4); bb_error_msg_and_die("ftp login: %s", buf+4);
} }

View File

@ -450,7 +450,7 @@ static NOINLINE void display_process_list(int count, int scr_width)
#endif #endif
scr_width += 2; /* account for leading '\n' and trailing NUL */ scr_width += 2; /* account for leading '\n' and trailing NUL */
/* Ok, all preliminary data is ready, go thru the list */ /* Ok, all preliminary data is ready, go through the list */
while (count-- > 0) { while (count-- > 0) {
unsigned col; unsigned col;
CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift); CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift);

View File

@ -1100,7 +1100,7 @@ yyparse ()
`yyvs': related to semantic values, `yyvs': related to semantic values,
`yyls': related to locations. `yyls': related to locations.
Refer to the stacks thru separate pointers, to allow yyoverflow Refer to the stacks through separate pointers, to allow yyoverflow
to reallocate them elsewhere. */ to reallocate them elsewhere. */
/* The state stack. */ /* The state stack. */