History log of /netbsd-src/lib/libc/stdlib/bsearch.c (Results 1 – 16 of 16)
Revision Date Author Comments
# ff23aff6 31-May-2022 andvar <andvar@NetBSD.org>

fix various typos in comments, documentation and messages.


# abe98abf 04-Mar-2012 christos <christos@NetBSD.org>

base0 == NULL is allowed when nmemb == 0, in fact the nsdispatch code calls
bsearch this way.


# b77d89c7 27-Nov-2010 christos <christos@NetBSD.org>

ansify


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# 33edc15a 15-Nov-1998 christos <christos@NetBSD.org>

delint


# c8bafd62 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 5f8a6c06 30-Jan-1998 perry <perry@NetBSD.org>

update to lite-2


# bd906777 13-Jul-1997 christos <christos@NetBSD.org>

Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's


# 6dda330e 28-Dec-1995 thorpej <thorpej@NetBSD.org>

New-style RCS ids.


# 7cd5ae58 28-Feb-1995 jtc <jtc@NetBSD.org>

remove unneeded "#include <stddef.h>"


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources