localedef(1): minor spelling fixes on comments.

No functional change.
This commit is contained in:
Pedro F. Giffuni 2016-05-01 16:10:56 +00:00
parent 5c1f6e21a5
commit fcc7baa1ae
4 changed files with 4 additions and 4 deletions

View File

@ -324,7 +324,7 @@ add_charmap_char(const char *name, int val)
/* /*
* POSIX insists that certain entries be present, even when not in the * POSIX insists that certain entries be present, even when not in the
* orginal charmap file. * original charmap file.
*/ */
void void
add_charmap_posix(void) add_charmap_posix(void)

View File

@ -1120,7 +1120,7 @@ dump_collate(void)
collate_chain_t *chain; collate_chain_t *chain;
/* /*
* We have to run throught a preliminary pass to identify all the * We have to run through a preliminary pass to identify all the
* weights that we use for each sorting level. * weights that we use for each sorting level.
*/ */
for (i = 0; i < NUM_WT; i++) { for (i = 0; i < NUM_WT; i++) {

View File

@ -181,7 +181,7 @@ static struct token {
/* /*
* These are keywords used in the charmap file. Note that * These are keywords used in the charmap file. Note that
* Solaris orginally used angle brackets to wrap some of them, * Solaris originally used angle brackets to wrap some of them,
* but we removed that to simplify our parser. The first of these * but we removed that to simplify our parser. The first of these
* items are "global items." * items are "global items."
*/ */

View File

@ -262,7 +262,7 @@ dump_time(void)
* NOTE: If date_fmt is not specified, then we'll default to * NOTE: If date_fmt is not specified, then we'll default to
* using the %c for date. This is reasonable for most * using the %c for date. This is reasonable for most
* locales, although for reasons that I don't understand * locales, although for reasons that I don't understand
* Solaris historically has had a seperate format for date. * Solaris historically has had a separate format for date.
*/ */
if ((putl_category(tm.X_fmt, f) == EOF) || if ((putl_category(tm.X_fmt, f) == EOF) ||
(putl_category(tm.x_fmt, f) == EOF) || (putl_category(tm.x_fmt, f) == EOF) ||