diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2023-04-28 19:11:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2023-04-28 19:11:03 +0000 |
commit | 0b0554bfc6a91450265f23d89c425a979a42d366 (patch) | |
tree | c3ac22e69ac3dc9ca9aacfb48dafea95a2114158 | |
parent | f6a5ecf0a6ad2ae347cd6feb5ff6eefafbe8631f (diff) | |
download | mandoc-0b0554bfc6a91450265f23d89c425a979a42d366.tar.gz |
spelling fixes from Paul Tagliamonte via tech@ and jmc@
-rw-r--r-- | cgi.c | 2 | ||||
-rw-r--r-- | dba_read.c | 2 | ||||
-rw-r--r-- | eqn.c | 2 | ||||
-rw-r--r-- | mandocdb.c | 2 | ||||
-rw-r--r-- | mansearch.c | 2 | ||||
-rw-r--r-- | mdoc_man.c | 4 | ||||
-rw-r--r-- | roff.c | 6 | ||||
-rw-r--r-- | roff_term.c | 4 | ||||
-rw-r--r-- | term.c | 2 |
9 files changed, 13 insertions, 13 deletions
@@ -1097,7 +1097,7 @@ main(void) #if HAVE_PLEDGE /* * The "rpath" pledge could be revoked after mparse_readfd() - * if the file desciptor to "/footer.html" would be opened + * if the file descriptor to "/footer.html" would be opened * up front, but it's probably not worth the complication * of the code it would cause: it would require scattering * pledge() calls in multiple low-level resp_*() functions. @@ -17,7 +17,7 @@ * Function to read the mandoc database from disk into RAM, * such that data can be added or removed. * The interface is defined in "dba.h". - * This file is seperate from dba.c because this also uses "dbm.h". + * This file is separate from dba.c because this also uses "dbm.h". */ #include "config.h" @@ -356,7 +356,7 @@ eqn_def_find(struct eqn_node *ep) /* * Parse a token from the input text. The modes are: * MODE_QUOTED: Use *ep->start as the delimiter; the token ends - * before its next occurence. Do not interpret the token in any + * before its next occurrence. Do not interpret the token in any * way and return EQN_TOK_QUOTED. All other modes behave like * MODE_QUOTED when *ep->start is '"'. * MODE_NOSUB: If *ep->start is a curly brace, the token ends after it; @@ -804,7 +804,7 @@ filescan(const char *infile) * We have to do lstat(2) before realpath(3) loses * the information whether this is a symbolic link. * We need to know that because for symbolic links, - * we want to use the orginal file name, while for + * we want to use the original file name, while for * regular files, we want to use the real path. */ if (lstat(infile, &st) == -1) { diff --git a/mansearch.c b/mansearch.c index 3e9f3326..ce493473 100644 --- a/mansearch.c +++ b/mansearch.c @@ -491,7 +491,7 @@ lstlen(const char *cp, size_t sep) /* * Print the NUL-terminated list of NUL-terminated strings - * into the buffer, seperating strings with sep. + * into the buffer, separating strings with sep. */ static void lstcat(char *buf, size_t *i, const char *cp, const char *sep) @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id$ */ /* * Copyright (c) 2011-2021 Ingo Schwarze <schwarze@openbsd.org> * @@ -1518,7 +1518,7 @@ mid_it(void) Bl_stack[Bl_stack_len - 1]); print_word(buf); - /* Remeber to close out this .RS block later. */ + /* Remember to close out this .RS block later. */ Bl_stack_post[Bl_stack_len - 1] = 1; } @@ -1449,7 +1449,7 @@ roff_expand(struct roff *r, struct buf *buf, int ln, int pos, char ec) break; /* - * If not overriden, + * If not overridden, * let \*(.T through to the formatters. */ @@ -2479,7 +2479,7 @@ roff_getnum(const char *v, int *pos, int *res, int flags) * Evaluate a string comparison condition. * The first character is the delimiter. * Succeed if the string up to its second occurrence - * matches the string up to its third occurence. + * matches the string up to its third occurrence. * Advance the cursor after the third occurrence * or lacking that, to the end of the line. */ @@ -4371,7 +4371,7 @@ roff_getformat(const struct roff *r) * return zero and don't change the current position. * If the control character has been set with `.cc', then let that grain * precedence. - * This is slighly contrary to groff, where using the non-breaking + * This is slightly contrary to groff, where using the non-breaking * control character when `cc' has been invoked will cause the * non-breaking macro contents to be printed verbatim. */ diff --git a/roff_term.c b/roff_term.c index 115d850f..9a6a420f 100644 --- a/roff_term.c +++ b/roff_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roff_term.c,v 1.20 2020/09/03 17:37:06 schwarze Exp $ */ +/* $Id$ */ /* * Copyright (c) 2010,2014,2015,2017-2020 Ingo Schwarze <schwarze@openbsd.org> * @@ -175,7 +175,7 @@ roff_term_pre_po(ROFF_TERM_ARGS) } else ponew = polast; - /* Remeber both the previous and the newly requested offset. */ + /* Remember both the previous and the newly requested offset. */ polast = po; po = ponew; @@ -194,7 +194,7 @@ term_flushln(struct termp *p) break; /* - * At the location of an automtic line break, input + * At the location of an automatic line break, input * space characters are consumed by the line break. */ |