Home | History | Annotate | Download | only in stdlib
History log of /src/lib/libc/stdlib/radixsort.c
RevisionDateAuthorComments
 1.22  12-Mar-2022  christos reallocarr returns errno. preserve it.
 1.21  29-Oct-2021  nia reallocarr does not set errno.
 1.20  29-Oct-2021  nia radixsort(3): use reallocarr instead of malloc(x * y)
 1.19  05-Sep-2009  dsl Ansify functions and remove __P/
 1.18  21-Aug-2009  dsl The 'table' of character weights is allowed to be NULL.
The SETUP define sorts it out (in the slowest and nastiest possible way!)
Broken by rev 1.12 almost 10 years ago!
 1.17  12-Feb-2009  lukem Fix sign-compare issues
 1.16  24-Dec-2005  perry branches: 1.16.30;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.15  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.14  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.13  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.12  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.11  03-Feb-1998  perry remove obsolete register declarations
 1.10  30-Jan-1998  perry update to lite-2
 1.9  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.8  13-Jul-1997  christos Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
 1.7  19-Dec-1996  cgd use __inline and __asm, rather than inline and asm. By default (without -g)
lint won't accept the latter two, but will accept the former two as valid.
As far as gcc's concerned, they're the same.
 1.6  28-Dec-1995  thorpej branches: 1.6.2;
New-style RCS ids.
 1.5  28-Feb-1995  jtc remove unneeded "#include <stddef.h>"
 1.4  16-Jun-1994  mycroft Add RCS ids.
 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.3  30-Jan-1998  perry import lite-2
 1.1.1.2  16-Jun-1994  mycroft Import from 4.4-Lite.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.2.1  18-Sep-1996  jtc snapshot namespace cleanup: stdlib
 1.16.30.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed