about summary refs log tree commit diff
path: root/src/search/lsearch.c
Commit message (Collapse)AuthorAgeFilesLines
* fix lsearch and lfind to pass key as first arg to the compar callbackSzabolcs Nagy2017-03-051-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.
* XSI search.h API implementation by Szabolcs NagyRich Felker2011-06-251-0/+31