path: root/src/search/lsearch.c
AgeCommit message (Collapse)AuthorLines
2017-03-05fix lsearch and lfind to pass key as first arg to the compar callbackSzabolcs Nagy-2/+2
this is not a conformance issue as posix does not specify the argument order, but the order is specified for bsearch and some systems document the order for lsearch consistently (openbsd). since there were two indpendent reports of this issue it's better to use the more widely expected argument order.
2011-06-25XSI search.h API implementation by Szabolcs NagyRich Felker-0/+31