Go to file
abhinav 150a47b73e With the latest release of mandoc, makemandb(8) started to parse some
sections multiple times. This started to happen because, pmdoc_Sh(), the handler function
responsible for parsing the Sh macros, used to recursively go through all the child
nodes and then the next nodes starting from top level Sh block node.
Now, once it has processed all the child nodes of the top level block node,
it moves to the next node, which is the top level block node of the next section and
in this way one call to pmdoc_Sh() was causing a complete pass through the
man page. Since, mandoc(3) calls pmdoc_Sh() for each .Sh macro in the man
page, it would result in parsing some of the sections multiple times.
This never happened with the previous versions of mandoc, so we never noticed.

I've fixed this by starting the parse sequence of the Sh macro from its body, which gurantees
that we will stop once that section ends.

ok christos@
2016-10-03 13:53:39 +00:00
bin kill(1) is a utility, not a function. 2016-10-02 21:00:54 +00:00
common PR port-ia64/51261 2016-08-05 15:06:02 +00:00
compat
crypto Add section number to the Xrefs 2016-09-12 16:54:31 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib Import c11(1) - a cc -std=c11 wrapper 2016-10-03 01:00:27 +00:00
doc c11: Import cc(1) wrapper for C11 2016-10-03 01:04:36 +00:00
etc Fix to cannnot be opened a nvme(4) namespace device file. 2016-09-08 15:00:08 +00:00
external Merge tzdata2016g 2016-09-29 20:41:33 +00:00
extsrc
games Fix another place with a wrong author of "Unkempt Thoughts" 2016-08-28 19:44:44 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include Add static_assert macro definition in <assert.h> 2016-10-03 12:08:39 +00:00
lib Be more careful about preserving errno. Might conceivably be related 2016-09-30 06:22:21 +00:00
libexec Missed in previous: exit 1 if html_cmp says no match. 2016-09-26 00:21:22 +00:00
regress Fix the mmap call, KNF, and make the output more readable. 2016-09-03 08:47:38 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin Return to printing explicit "netmask 0x...." in the case that the 2016-10-01 20:59:49 +00:00
share make symlink ahci.4 -> ahcisata.4 2016-10-02 22:44:30 +00:00
sys Do not hold the softc lock (IPL_SOFTUSB) unnecessarily and specifically 2016-10-03 13:36:33 +00:00
tests This test works fine on real hardware, but due to PR kern/43997 (qemu 2016-10-02 15:27:32 +00:00
tools Add exec_ecoff.h 2016-09-14 00:41:04 +00:00
usr.bin Minor improvements, add more markup. 2016-10-03 08:20:12 +00:00
usr.sbin With the latest release of mandoc, makemandb(8) started to parse some 2016-10-03 13:53:39 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING switch amd64, i386, shark, ofppc and macppc to xorg-server 1.18. 2016-09-15 07:49:08 +00:00
build.sh When setting TOP the idea is to run the [/usr]/bin/pwd binary, and 2016-06-03 00:00:01 +00:00