From b1c0cd9a3465e412ac04057f612a816d1c2b45f4 Mon Sep 17 00:00:00 2001 From: pfg Date: Sun, 1 May 2016 16:10:56 +0000 Subject: localedef(1): minor spelling fixes on comments. No functional change. --- usr.bin/localedef/charmap.c | 2 +- usr.bin/localedef/collate.c | 2 +- usr.bin/localedef/scanner.c | 2 +- usr.bin/localedef/time.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/localedef/charmap.c b/usr.bin/localedef/charmap.c index 18db802..52839a9 100644 --- a/usr.bin/localedef/charmap.c +++ b/usr.bin/localedef/charmap.c @@ -324,7 +324,7 @@ add_charmap_char(const char *name, int val) /* * POSIX insists that certain entries be present, even when not in the - * orginal charmap file. + * original charmap file. */ void add_charmap_posix(void) diff --git a/usr.bin/localedef/collate.c b/usr.bin/localedef/collate.c index 32c583c..0eb6ea1 100644 --- a/usr.bin/localedef/collate.c +++ b/usr.bin/localedef/collate.c @@ -1120,7 +1120,7 @@ dump_collate(void) 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. */ for (i = 0; i < NUM_WT; i++) { diff --git a/usr.bin/localedef/scanner.c b/usr.bin/localedef/scanner.c index 0b57e5b..fa62089 100644 --- a/usr.bin/localedef/scanner.c +++ b/usr.bin/localedef/scanner.c @@ -181,7 +181,7 @@ static struct token { /* * 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 * items are "global items." */ diff --git a/usr.bin/localedef/time.c b/usr.bin/localedef/time.c index 6daf7ac..e40001d 100644 --- a/usr.bin/localedef/time.c +++ b/usr.bin/localedef/time.c @@ -262,7 +262,7 @@ dump_time(void) * NOTE: If date_fmt is not specified, then we'll default to * using the %c for date. This is reasonable for most * 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) || (putl_category(tm.x_fmt, f) == EOF) || -- cgit v1.1