Home | History | Annotate | Download | only in stdlib
History log of /src/lib/libc/stdlib/tfind.c
RevisionDateAuthorComments
 1.7  25-Jun-2012  abs Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.6  18-May-2011  dsl branches: 1.6.4;
Remove __P()
 1.5  23-Mar-2005  kleink Avoid lint warning after previous.
 1.4  22-Mar-2005  kleink * Add restrict qualifiers to tdelete() function arguments.
* Const-poison tfind()'s rootp argument, per SVID Issue 1 and later.
 1.3  20-Sep-1999  lukem branches: 1.3.18;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.2  16-Sep-1999  lukem * 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
 1.1  22-Feb-1999  christos t{search,find,walk,delete} from OpenBSD via Neil A. Carson
 1.3.18.2  23-Mar-2005  tron Pull up revision 1.5 (requested by kleink in ticket #54):
Avoid lint warning after previous.
 1.3.18.1  23-Mar-2005  tron Pull up revision 1.4 (requested by kleink in ticket #51):
* Add restrict qualifiers to tdelete() function arguments.
* Const-poison tfind()'s rootp argument, per SVID Issue 1 and later.
 1.6.4.1  30-Oct-2012  yamt sync with head

RSS XML Feed