diff options
author | emaste <emaste@FreeBSD.org> | 2016-11-26 03:39:02 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-11-26 03:39:02 +0000 |
commit | 1985f47f08fb0b1f0a1cbf7b69ffebee66a42a10 (patch) | |
tree | f560c4c80c809f82badd3d17d5ec394d4b26c8b7 /include/nss.h | |
parent | f1d86cf3b7aabc38f07c50d67af828ade8870054 (diff) | |
download | FreeBSD-src-1985f47f08fb0b1f0a1cbf7b69ffebee66a42a10.zip FreeBSD-src-1985f47f08fb0b1f0a1cbf7b69ffebee66a42a10.tar.gz |
MFC r307003, r307564: makewhatis: make output reproducible
r307003: 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
Idea from: des
r307564: makewhatis: avoid skipping another page after one with no mlinks
Submitted by: Ingo Schwarze
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'include/nss.h')
0 files changed, 0 insertions, 0 deletions