freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

exit.3: add the comma after an empty space

Open rilysh opened this issue 2 years ago • 1 comments

exit(3) man page shows __cxa_atexit(3,) instead of __cxa_atexit(3), in a particular section. It seems the comma gets inside the parenthesis and with an extra space, it can be viewed as expected.

rilysh avatar Jan 06 '24 08:01 rilysh

This change is correct. We sometimes reference manual entries that don't exist to indicate where to find the code... In this case, it makes sense to document exit's behavior... This is, however, an internal interface that real users shouldn't be calling.

I think we should land this since it's an actual error and produces an change in the output. Though it's super close to a "typo" fix that we otherwise would discourage, especially ones submitted in bulk w/o some extenuating circumstances.

bsdimp avatar Jan 10 '24 23:01 bsdimp

2a3d453049ae6da2b0071185827d6b140fbeea62

bsdimp avatar Apr 10 '24 03:04 bsdimp