History log of /src/lib/libc/gen/stringlist.c |
Revision | | Date | Author | Comments |
1.15 |
| 12-Mar-2022 |
christos | reallocarr returns errno. preserve it.
|
1.14 |
| 21-May-2015 |
christos | use reallocarr (Ingo Schwarze)
|
1.13 |
| 28-Apr-2008 |
martin | branches: 1.13.8; Remove clause 3 and 4 from TNF licenses
|
1.12 |
| 09-May-2007 |
christos | branches: 1.12.10; PR/36299: Greg Woods: Add namespace protection for sl_delete.
|
1.11 |
| 27-Jul-2006 |
christos | Add sl_delete, KNF, ansi
|
1.10 |
| 25-Jan-2000 |
enami | - Don't update the size of allocated storage until realloc successes. - KNF left over.
|
1.9 |
| 22-Jan-2000 |
mycroft | Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
1.8 |
| 28-Nov-1999 |
lukem | * 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).
|
1.7 |
| 27-Nov-1999 |
lukem | convert to TNFi copyright (requested by christos)
|
1.6 |
| 16-Sep-1999 |
lukem | branches: 1.6.4; * 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.5 |
| 29-Sep-1997 |
enami | Delete `: %m' from a format string passed to err().
|
1.4 |
| 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.3 |
| 13-Jul-1997 |
christos | Fix RCSID's Use namespace.h
|
1.2 |
| 17-Jan-1997 |
lukem | Add stringlist implementation Convert getnetgrent from private stringlist to public version
|
1.1 |
| 06-Nov-1996 |
lukem | branches: 1.1.2; file stringlist.c was initially added on branch nsswitch.
|
1.1.2.1 |
| 06-Nov-1996 |
lukem | initial nsswitch implementation
|
1.6.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.12.10.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.13.8.2 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.13.8.1 |
| 28-Apr-2008 |
martin | file stringlist.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
|