bind9/lib
Andreas Gustafsson 4c94069644 199. [bug] isc_heap_delete() sometimes violated the heap
invariant, causing timer events not to be posted
			when due.

Specifically, isc_heap_delete() moved the last element of the heap to
the vacated position and then attempted to restore the heap invariant
by calling sink_down().  This works when the last element has a lower
priority than the one being deleted, and this is often the case
because the last element tends to have a low priority.  However, it is
not guaranteed to be the lowest.  When deleting an item of a lower
priority than the last item, restoring the invariant requires a call
to float_up(), not sink_down().

isc_heap_delete_now calls either float_up() or sink_down() as needed,
and INSISTs have been added to verify that the heap invariant indeed
holds after the calls.
2000-05-22 02:53:52 +00:00
..
dns zone_xferdone() assigned the updated zone expiry time to the wrong variable 2000-05-20 21:24:41 +00:00
isc 199. [bug] isc_heap_delete() sometimes violated the heap 2000-05-22 02:53:52 +00:00
lwres use _PLATFORM_NEEDINETIN6H 2000-05-18 22:43:48 +00:00
omapi changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
tests DNS_R_RANGE -> ISC_R_RANGE 2000-05-15 21:14:38 +00:00
.cvsignore add .cvsignore files 1998-12-11 21:09:59 +00:00
Makefile.in update copyright 2000-02-03 23:17:52 +00:00