- 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.
* 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 */
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[]
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;
int cnt, hole_size;
@ -3245,7 +3245,7 @@ static void do_cmd(char c)
//
// dont separate these two commands. 'f' depends on ';'
//
//**** fall thru to ... ';'
//**** fall through to ... ';'
case ';': // ;- look at rest of line for last forward char
if (cmdcnt-- > 1) {
do_cmd(';');
@ -3456,7 +3456,7 @@ static void do_cmd(char c)
break;
case 'A': // A- append at 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
if (*dot != '\n')
dot++;
@ -3511,7 +3511,7 @@ static void do_cmd(char c)
case 'I': // I- insert before first non-blank
dot_begin(); // 0
dot_skip_over_ws();
//**** fall thru to ... 'i'
//**** fall through to ... 'i'
case 'i': // i- insert before current char
case VI_K_INSERT: // Cursor Key Insert
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 (PRINT_FILES_WITH_MATCHES) {
puts(cur_file);
/* fall thru to "return 1" */
/* fall through to "return 1" */
}
/* OPT_L aka PRINT_FILES_WITHOUT_MATCHES: return early */
return 1; /* one match */

View File

@ -100,7 +100,7 @@ static void rewrite(FS * fs)
if (!fu->nextpr)
fu->nextpr = pr;
/* 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 */

View File

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

View File

@ -77,7 +77,7 @@ struct globals {
unsigned wrote_out; /* total stdout bytes */
unsigned wrote_net; /* total net bytes */
#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)
2 - local address after bind (port is 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
unsetenv("TMPDIR");
// TODO: piping thru external filter argv... if *argv
// TODO: piping through external filter argv... if *argv
// cache fetch command
{
const char *retr = (opts & OPTF_t) ? "TOP %u 0" : "RETR %u";
// loop thru messages
// loop through messages
for (; nmsg; nmsg--) {
int fd;
char tmp_name[sizeof("tmp/XXXXXX")];

View File

@ -614,7 +614,7 @@ int wget_main(int argc, char **argv)
case 206:
if (beg_range)
break;
/*FALLTHRU*/
/* fall through */
default:
/* Show first line only and kill any ESC tricks */
buf[strcspn(buf, "\n\r\x1b")] = '\0';
@ -685,7 +685,7 @@ int wget_main(int argc, char **argv)
case 331:
if (ftpcmd("PASS ", str, sfp, buf) == 230)
break;
/* FALLTHRU (failed login) */
/* fall through (failed login) */
default:
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
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) {
unsigned col;
CALC_STAT(pmem, (s->vsz*pmem_scale + pmem_half) >> pmem_shift);

View File

@ -1100,7 +1100,7 @@ yyparse ()
`yyvs': related to semantic values,
`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. */
/* The state stack. */