diff options
author | Colin Watson <cjwatson@debian.org> | 2022-09-24 22:54:39 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-09-24 22:54:40 +0100 |
commit | 3f3ab56eea58b1358523a06468f63c619f08bc60 (patch) | |
tree | 951b59152a950b58daf73804592c82551af3068f /NEWS.md | |
parent | e9bb7b74219eed74e61803994da901aa82cb85fd (diff) |
Extend database entry replacement rules
These rules were previously ambiguous such that the targets of whatis
entries depended on the order in which files were scanned.
* libdb/db_store.c (enum replace_action): Add.
(replace_if_necessary): Extend rules for greater stability. We now also
take mtimes and pointers into account, as well as including a case for
when the new ID is weaker than the old one (there was already a case for
when it was stronger).
(dbstore): Use `replace_if_necessary` when considering replacing multi
keys.
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ Improvements: * Maintain multi keys in sorted order, improving database reproducibility. * Pick a more consistent name for the target of a whatis entry in the database. + * Extend rules for when to replace one database entry with another, + producing more stable behaviour. man-db 2.10.2 (17 March 2022) ============================= |