bind9/lib
Michał Kępień 1a341e15e8 Prevent rare rbt_insert_and_remove unit test failures
When two or more absolute, two-label names are added to a completely
empty RBT, an extra, empty node for the root name will be created due to
node splitting.  check_tree() expects that, but the extra node will not
be created when just one name is added to a completely empty RBT.  This
problem could be handled inside check_tree(), but that would introduce
unnecessary complexity into it since adding a single name will result in
a different node count for a completely empty RBT (node count will be 1)
and an RBT containing only an empty node for the root name, created due
to prior node splitting (node count will be 2).  Thus, first explicitly
create a node for the root name to prevent rare check_tree() failures
caused by a single name being added in the first iteration of the
insert/remove loop.

(cherry picked from commit 13fe763798)
2018-08-14 10:44:49 +02:00
..
bind9 Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
dns Prevent rare rbt_insert_and_remove unit test failures 2018-08-14 10:44:49 +02:00
irs Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
isc Make ENOBUFS a soft error 2018-08-13 19:22:56 +02:00
isccc Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
isccfg Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
ns Fix !!validate typo to -> !validate 2018-08-11 10:28:27 +02:00
samples Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
win32/bindevt Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
Kyuafile regen v9_12 2017-12-29 02:16:29 +00:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:39:57 -08:00