basic.c
8.32 KB
-
Fix pqueue sort boundary condition bug · 5302a885
If the pqueue comparison fn returned just 0 or 1 (think "a<b") then the sort order of returned items could be wrong because there was a "< 0" that really needed to be "<= 0". Yikes!!!
Russell Belfer committed