From fcc7baa1ae504e353c4a87292fd851192705ad72 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sun, 1 May 2016 16:10:56 +0000 Subject: [PATCH] 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 18db8027fe04..52839a920963 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 32c583caa862..0eb6ea123c27 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 0b57e5bd120e..fa6208996663 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 6daf7ac501e1..e40001d18e64 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) ||