CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/09/24 07:08:34
Modified files:
usr.bin/mandoc : dba.c
Log message:
When sorting page names (without section numbers) in the mandoc database,
after sorting by name type in descending order (to put the most
important names first), use the same sort order that is conventional
in SEE ALSO sections: first case-insensitively in ascending alphabetic
order, and if that results in a tie because two names differ only in
case (like OSSL_TRACE_END and OSSL_trace_end, which are *different*
names that, in FreeBSD, are documented in the same manual page - why
am i unsurprised that such madness occurs with "OSSL" of all APIs?),
break the tie by sorting case-sensitively in ascending alphabetic order,
i.e. put capitals before lowercase letters, rather than allowing the
tie to result in a random order.
This very minor issue was found by Mark Johnston <markj@>
when he worked on reproducible builds in FreeBSD.