source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: spelling fixes from Paul Tagliamonte via tech@ and jmc@
@ 2023-04-28 19:11 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2023-04-28 19:11 UTC (permalink / raw)
  To: source

Log Message:
-----------
spelling fixes from Paul Tagliamonte via tech@ and jmc@

Modified Files:
--------------
    mandoc:
        cgi.c
        dba_read.c
        eqn.c
        mandocdb.c
        mansearch.c
        mdoc_man.c
        roff.c
        roff_term.c
        term.c

Revision Data
-------------
Index: term.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/term.c,v
retrieving revision 1.290
retrieving revision 1.291
diff -Lterm.c -Lterm.c -u -p -r1.290 -r1.291
--- term.c
+++ term.c
@@ -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.
 		 */
 
Index: roff_term.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/roff_term.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lroff_term.c -Lroff_term.c -u -p -r1.24 -r1.25
--- roff_term.c
+++ 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;
 
Index: eqn.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/eqn.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -Leqn.c -Leqn.c -u -p -r1.85 -r1.86
--- eqn.c
+++ eqn.c
@@ -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;
Index: cgi.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/cgi.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -Lcgi.c -Lcgi.c -u -p -r1.180 -r1.181
--- cgi.c
+++ cgi.c
@@ -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.
Index: mansearch.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mansearch.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -Lmansearch.c -Lmansearch.c -u -p -r1.83 -r1.84
--- mansearch.c
+++ 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)
Index: roff.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/roff.c,v
retrieving revision 1.395
retrieving revision 1.396
diff -Lroff.c -Lroff.c -u -p -r1.395 -r1.396
--- roff.c
+++ roff.c
@@ -1449,7 +1449,7 @@ roff_expand(struct roff *r, struct buf *
 				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
  * 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.
  */
Index: mandocdb.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandocdb.c,v
retrieving revision 1.271
retrieving revision 1.272
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.271 -r1.272
--- mandocdb.c
+++ mandocdb.c
@@ -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) {
Index: dba_read.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/dba_read.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -Ldba_read.c -Ldba_read.c -u -p -r1.5 -r1.6
--- dba_read.c
+++ dba_read.c
@@ -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"
 
Index: mdoc_man.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_man.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.137 -r1.138
--- mdoc_man.c
+++ mdoc_man.c
@@ -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;
 }
 
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-28 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 19:11 mandoc: spelling fixes from Paul Tagliamonte via tech@ and jmc@ schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).