Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 30 15:07:38 2025 UTC (9 days, 16 hours ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +6 -5 lines
Diff to previous 1.4 (unified) to selected 1.2 (unified)
mention that send(2) can cause failure, and fix one typo
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 30 11:24:30 2025 UTC (9 days, 19 hours ago) by schwarze
Branch: MAIN
Changes since 1.3: +17 -4 lines
Diff to previous 1.3 (unified) to selected 1.2 (unified)
Reuse the existing socket pair as a backchannel from mandocd(8) to catman(8). This is needed because catman(8) can pass messages to mandocd(8) much faster than mandocd(8) can process them: to file a new message, catman(8) does not need to do much more than one call to fts_read(3), wheres mandocd(8) needs to read, parse, and format the whole file in response. So unprocessed messages pile up in the kernel, each of them containing three file descriptors in flight, ultimately resulting in catman(8) dying with: catman: FATAL: sendmsg: Too many open files The catman(8) program cannot find out on its own how far mandocd(8) has progressed, so mandocd(8) has to tell it. Each time mandocd(8) accepts a message from catman(8), it now sends a one-byte message back. When catman(8) has the number of files in flight that it considers acceptable, it does a blocking recv(3), such that no more files get sent until at least one has been accepted. As soon as it gets one message back, catman(8) then does further non-blocking recv(3)s until they no longer succeed, to reduce the count of files in flight as much as possible before returning to sending more files. When processing is complete or aborted, catman(8) waits for the remaining files to be accepted before exiting. Debugging output related to this feature is available with -vv.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 28 15:41:41 2021 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (unified)
two typos; patch from Raf Czlonka <rczlonka at gmail dot com>
Revision 1.2 / (download) - annotate - [selected], Sat Mar 18 19:56:01 2017 UTC (8 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
VERSION_1_14_5,
VERSION_1_14_4,
VERSION_1_14_3,
VERSION_1_14_2
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (unified)
minor issues found with mandoc -Tlint
Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 6 19:04:21 2017 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1
Diff to selected 1.2 (unified)
new manual pages for catman(8) and mandocd(8)