Home | History | Annotate | Download | only in string
History log of /src/lib/libc/string/rindex.c
RevisionDateAuthorComments
 1.15  20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.14  30-Nov-2005  martin Fix warns=4 via __UNCONST()
 1.13  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12  09-Feb-2001  wiz De-lint. Reviewed by Christos.
 1.11  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.10  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.9  26-Mar-1998  cgd when deciding whether to use standard system include files or libkern.h,
check _STANDALONE as well as _KERNEL. _KERNEL is incorrect for use when
building boot blocks, and it looks like the rest of the code is already
using _STANDALONE for this purpose.
 1.8  03-Feb-1998  perry remove obsolete register declarations
 1.7  30-Jan-1998  perry update to lite-2
 1.6  21-Jan-1998  cgd add appropriate #ifdefs (kernel includes) so that these files can
be copied to libkern and built without modification.
 1.5  13-Jul-1997  christos Fix RCSID's
Use "extern.h" where appropriate.
 1.4  11-Jun-1994  jtc branches: 1.4.8;
Remove unneeded #include <stddef.h> because <string.h> #defines NULL too.
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  30-Jan-1998  perry import lite-2
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.8.1  20-Sep-1996  jtc snapshot namespace cleanup: net, etc.

RSS XML Feed