fix tsearch, tfind, tdelete to handle null pointer input
authorSzabolcs Nagy <nsz@port70.net>
Sat, 5 Dec 2015 20:53:59 +0000 (21:53 +0100)
committerRich Felker <dalias@aerifal.cx>
Tue, 8 Dec 2015 23:53:18 +0000 (18:53 -0500)
commit3abb094d19ca4c7c4adcf373d971fb5aa05c5252
treefc33244b55f1d6e788e9129c7a1fe74d0ceaf367
parent8994908b199a57097f420707b1fca75fc30236fa
fix tsearch, tfind, tdelete to handle null pointer input

POSIX specifies the behaviour for null rootp input, but it
was not implemented correctly.
src/search/tsearch_avl.c