Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makemandb Bring the comment in sync with code (afte...



details:   https://anonhg.NetBSD.org/src/rev/f6c49f6751f5
branches:  trunk
changeset: 823630:f6c49f6751f5
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Sat Apr 29 16:49:51 2017 +0000

description:
Bring the comment in sync with code (after changes brought by the last commit).

diffstat:

 usr.sbin/makemandb/makemandb.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 814ad0a12483 -r f6c49f6751f5 usr.sbin/makemandb/makemandb.c
--- a/usr.sbin/makemandb/makemandb.c    Sat Apr 29 15:26:44 2017 +0000
+++ b/usr.sbin/makemandb/makemandb.c    Sat Apr 29 16:49:51 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: makemandb.c,v 1.48 2017/04/29 14:43:09 abhinav Exp $   */
+/*     $NetBSD: makemandb.c,v 1.49 2017/04/29 16:49:51 abhinav Exp $   */
 /*
  * Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
  * Copyright (c) 2011 Kristaps Dzonsons <kristaps%bsd.lv@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: makemandb.c,v 1.48 2017/04/29 14:43:09 abhinav Exp $");
+__RCSID("$NetBSD: makemandb.c,v 1.49 2017/04/29 16:49:51 abhinav Exp $");
 
 #include <sys/stat.h>
 #include <sys/types.h>
@@ -1108,8 +1108,7 @@
 /*
  *  Called from pmdoc_Sh to parse body of a .Sh macro. It calls
  *  mdoc_parse_section to append the data to the section specific buffer.
- *  Two special macros which may occur inside the body of Sh are .Nm and .Xr and
- *  they need special handling, thus the separate if branches for them.
+ *  The .Xr macro needs special handling, thus the separate if branch for it.
  */
 static void
 mdoc_parse_Sh(const struct roff_node *n, mandb_rec *rec)



Home | Main Index | Thread Index | Old Index