History log of /netbsd-src/lib/libc/stdlib/radixsort.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 3249d3dc 12-Mar-2022 christos <christos@NetBSD.org>

reallocarr returns errno. preserve it.


# 99f42ade 29-Oct-2021 nia <nia@NetBSD.org>

reallocarr does not set errno.


# 1aca51f7 29-Oct-2021 nia <nia@NetBSD.org>

radixsort(3): use reallocarr instead of malloc(x * y)


# 602976ff 05-Sep-2009 dsl <dsl@NetBSD.org>

Ansify functions and remove __P/


# 11bcd8ad 21-Aug-2009 dsl <dsl@NetBSD.org>

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!


# 9d1671f4 12-Feb-2009 lukem <lukem@NetBSD.org>

Fix sign-compare issues


# 4e11af46 24-Dec-2005 perry <perry@NetBSD.org>

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 60549036 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


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


# c8bafd62 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 5f8a6c06 30-Jan-1998 perry <perry@NetBSD.org>

update to lite-2


# 43fa6fe3 21-Jul-1997 jtc <jtc@NetBSD.org>

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

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

show more ...


# bd906777 13-Jul-1997 christos <christos@NetBSD.org>

Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's


# a13d8bf8 19-Dec-1996 cgd <cgd@NetBSD.org>

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.


# 6dda330e 28-Dec-1995 thorpej <thorpej@NetBSD.org>

New-style RCS ids.


# 7cd5ae58 28-Feb-1995 jtc <jtc@NetBSD.org>

remove unneeded "#include <stddef.h>"


# 2f86deea 16-Jun-1994 mycroft <mycroft@NetBSD.org>

Add RCS ids.


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources