Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/man Spell "keywords" without space. Fix couple of t...



details:   https://anonhg.NetBSD.org/src/rev/662856adb3f4
branches:  trunk
changeset: 788764:662856adb3f4
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Jul 19 04:59:46 2013 +0000

description:
Spell "keywords" without space.  Fix couple of typos.

diffstat:

 usr.bin/man/man.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r d08f633df4c0 -r 662856adb3f4 usr.bin/man/man.c
--- a/usr.bin/man/man.c Fri Jul 19 04:55:05 2013 +0000
+++ b/usr.bin/man/man.c Fri Jul 19 04:59:46 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: man.c,v 1.53 2013/07/19 04:55:05 uwe Exp $     */
+/*     $NetBSD: man.c,v 1.54 2013/07/19 04:59:46 uwe Exp $     */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)man.c      8.17 (Berkeley) 1/31/95";
 #else
-__RCSID("$NetBSD: man.c,v 1.53 2013/07/19 04:55:05 uwe Exp $");
+__RCSID("$NetBSD: man.c,v 1.54 2013/07/19 04:59:46 uwe Exp $");
 #endif
 #endif /* not lint */
 
@@ -474,7 +474,7 @@
        int suflen;
 
        found = 0;
-       /* Try the _build key words next. */
+       /* Try the _build keywords next. */
        TAILQ_FOREACH(suffix, &mp->buildlist->entrylist, q) {
                for (p = suffix->s, suflen = 0;
                    *p != '\0' && !isspace((unsigned char)*p);
@@ -631,11 +631,11 @@
                        }
 
                        /*
-                        * Try the _suffix key words first.
+                        * Try the _suffix keywords first.
                         *
                         * XXX
-                        * Older versions of man.conf didn't have the suffix
-                        * key words, it was assumed that everything was a .0.
+                        * Older versions of man.conf didn't have the _suffix
+                        * keywords, it was assumed that everything was a .0.
                         * We just test for .0 first, it's fast and probably
                         * going to hit.
                         */
@@ -656,7 +656,7 @@
                        if (found)
                                goto next;
 
-                       /* Try the _build key words next. */
+                       /* Try the _build keywords next. */
                        found = manual_find_buildkeyword("*/", escpage,
                                mp, pg, cnt);
                        if (found) {
@@ -746,7 +746,7 @@
                        }
 
 
-       /* advance fmt pass the suffix spec to the printf format string */
+       /* advance fmt past the suffix spec to the printf format string */
        for (; *fmt && isspace((unsigned char)*fmt); ++fmt)
                continue;
 



Home | Main Index | Thread Index | Old Index