summaryrefslogtreecommitdiff
path: root/src/search
AgeCommit message (Expand)AuthorLines
2023-02-12hsearch: fix null pointer arithmetic UBSzabolcs Nagy-2/+2
2018-09-20new tsearch implementationSzabolcs Nagy-213/+200
2018-09-12reduce spurious inclusion of libc.hRich Felker-1/+0
2018-09-12make inadvertently exposed __h{create,delete,search}_r functions staticRich Felker-6/+6
2017-03-05fix lsearch and lfind to pass key as first arg to the compar callbackSzabolcs Nagy-2/+2
2015-12-08fix tsearch, tfind, tdelete to handle null pointer inputSzabolcs Nagy-0/+6
2015-12-08tsearch code cleanupSzabolcs Nagy-24/+28
2015-12-08fix tsearch to avoid crash on oomSzabolcs Nagy-1/+1
2015-12-08fix tdelete to properly balance the treeSzabolcs Nagy-5/+14
2014-04-02remove struct elem entirely from hsearch.csin-29/+22
2014-04-02implement hcreate_r, hdestroy_r and hsearch_rsin-30/+73
2013-10-29POSIX conformance fix: define struct entry in search.hSzabolcs Nagy-8/+8
2013-08-02make tdestroy allow null function pointer if no destructor is neededRich Felker-1/+1
2013-08-02fix aliasing violations in tsearch functionsRich Felker-2/+10
2012-05-13search: add comments to tsearch_avl.cnsz-0/+6
2012-05-13search: add tdestroy (gnu extension)nsz-0/+21
2011-06-25XSI search.h API implementation by Szabolcs NagyRich Felker-0/+352