summaryrefslogtreecommitdiff
path: root/src/search
AgeCommit message (Collapse)AuthorFilesLines
2013-10-29POSIX conformance fix: define struct entry in search.hSzabolcs Nagy1-8/+8
2013-08-02make tdestroy allow null function pointer if no destructor is neededRich Felker1-1/+1
this change is to align with a change in the glibc interface.
2013-08-02fix aliasing violations in tsearch functionsRich Felker1-2/+10
patch by nsz. the actual object the caller has storing the tree root has type void *, so accessing it as struct node * is not valid. instead, simply access the value, move it to a temporary of the appropriate type and work from there, then move the result back.
2012-05-13search: add comments to tsearch_avl.cnsz1-0/+6
2012-05-13search: add tdestroy (gnu extension)nsz1-0/+21
2011-06-25XSI search.h API implementation by Szabolcs NagyRich Felker4-0/+352