History log of /netbsd-src/lib/libc/stdlib/tsearch.c (Results 1 – 7 of 7)
Revision Date Author Comments
# 9e66e6d7 25-Jun-2012 abs <abs@NetBSD.org>

Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)


# 67d513dd 18-May-2011 dsl <dsl@NetBSD.org>

Remove __P()


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

WARNS=4


# 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 ...


# 4a522f35 03-May-1999 christos <christos@NetBSD.org>

add a const castaway lint comment.


# 7975455d 22-Feb-1999 christos <christos@NetBSD.org>

t{search,find,walk,delete} from OpenBSD via Neil A. Carson