#
3249d3dc |
| 12-Mar-2022 |
christos <christos@NetBSD.org> |
reallocarr returns errno. preserve it.
|
#
06f2d206 |
| 21-May-2015 |
christos <christos@NetBSD.org> |
use reallocarr (Ingo Schwarze)
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
36a33408 |
| 09-May-2007 |
christos <christos@NetBSD.org> |
PR/36299: Greg Woods: Add namespace protection for sl_delete.
|
#
6826db0f |
| 27-Jul-2006 |
christos <christos@NetBSD.org> |
Add sl_delete, KNF, ansi
|
#
6e75e4cb |
| 25-Jan-2000 |
enami <enami@NetBSD.org> |
- Don't update the size of allocated storage until realloc successes. - KNF left over.
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
46a687b1 |
| 28-Nov-1999 |
lukem <lukem@NetBSD.org> |
* sl_init(); if malloc() fails return NULL instead of calling err(1,...) * sl_add(); if realloc() fails return -1 instead of calling err(1,...). otherwise, return 0.
NOTE: this change resulted in
* sl_init(); if malloc() fails return NULL instead of calling err(1,...) * sl_add(); if realloc() fails return -1 instead of calling err(1,...). otherwise, return 0.
NOTE: this change resulted in sl_add() changing from returning void to int. this shouldn't be a problem because a) it returns 0 if ok (aka `void', b) all invokers of sl_add() in the tree have been changed (mainly code i've written).
show more ...
|
#
9f731168 |
| 27-Nov-1999 |
lukem <lukem@NetBSD.org> |
convert to TNFi copyright (requested by christos)
|
#
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 ...
|
#
9512162b |
| 29-Sep-1997 |
enami <enami@NetBSD.org> |
Delete `: %m' from a format string passed to err().
|
#
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 ...
|
#
47d1af8a |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix RCSID's Use namespace.h
|
#
f694f3b1 |
| 17-Jan-1997 |
lukem <lukem@NetBSD.org> |
Add stringlist implementation Convert getnetgrent from private stringlist to public version
|