Home | History | Annotate | Download | only in stdlib
History log of /src/lib/libc/stdlib/seed48.c
RevisionDateAuthorComments
 1.8  12-Jun-2005  lukem Add missing __RCSID()
 1.7  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.6  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.5  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.4  09-Jan-1998  perry RCS Id Police.
 1.3  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.2  14-Oct-1993  jtc branches: 1.2.8;
Rename intenral _rand_foo variables to __rand_foo, as _rand_foo is in the
user's namespace.
 1.1  07-Oct-1993  brezak Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier)
 1.2.8.1  18-Sep-1996  jtc snapshot namespace cleanup: stdlib

RSS XML Feed