Module Name: src Committed By: abhinav Date: Sat Apr 29 16:49:51 UTC 2017
Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Bring the comment in sync with code (after changes brought by the last commit). To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/makemandb/makemandb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/makemandb/makemandb.c diff -u src/usr.sbin/makemandb/makemandb.c:1.48 src/usr.sbin/makemandb/makemandb.c:1.49 --- src/usr.sbin/makemandb/makemandb.c:1.48 Sat Apr 29 14:43:09 2017 +++ src/usr.sbin/makemandb/makemandb.c Sat Apr 29 16:49:51 2017 @@ -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.upadh...@gmail.com> * Copyright (c) 2011 Kristaps Dzonsons <krist...@bsd.lv> @@ -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 @@ pmdoc_Sh(const struct roff_node *n, mand /* * 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)