emaste bbb47f74a2 makewhatis: make output reproducible
The mandoc search database generation uses each page's inode number as
a hash key to index hard linked pages only once.  However, it also
processed the pages ordered by hash key resulting in effectively non-
deterministic output.

Instead:

1) provide fts_open() with a comparison function to process directories
   and files in a deterministic order
2) in addition to the existing hash, insert pages into a linked list
   which will be sorted (by virtue of 1)
3) iterate over pages by the list in 2, instead of hash order

I will work on upstreaming this change.

Reviewed by:	bapt
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8213
2016-10-10 19:09:35 +00:00
..
2015-08-09 05:14:25 +00:00
2016-09-09 01:09:39 +00:00
2016-10-04 22:22:32 +00:00
2016-09-30 23:38:26 +00:00
2016-07-01 05:48:45 +00:00
2016-06-27 01:29:17 +00:00
2016-08-30 21:51:53 +00:00
2016-04-20 17:58:13 +00:00
2016-06-09 06:10:20 +00:00
2016-01-05 05:25:16 +00:00
2016-10-04 11:56:46 +00:00
2016-07-30 01:16:06 +00:00
2016-08-03 20:21:58 +00:00
2016-10-01 00:14:01 +00:00
2016-07-03 01:35:27 +00:00
2015-09-27 07:04:16 +00:00
2016-06-03 08:00:22 +00:00
2016-09-03 23:04:56 +00:00
2016-07-20 03:52:04 +00:00
2016-08-24 12:32:24 +00:00
2016-10-08 17:46:59 +00:00
2016-09-29 18:24:29 +00:00
2015-11-21 09:09:25 +00:00