#
4ddb8bc6 |
| 02-Feb-2002 |
lukem <lukem@NetBSD.org> |
be consistent with internal names: s/start_gr/grstart/ ; s/matchline/gr&/
|
#
3792c586 |
| 12-Jan-2002 |
lukem <lukem@NetBSD.org> |
ansi knf
|
#
741ea8dc |
| 17-Dec-2000 |
lukem <lukem@NetBSD.org> |
fix typo in _nis_grscan(). "if (data); free(data);" -> "if (data) free(data);" noted by Jacques Vidrine <nectar@FreeBSD.org>
|
#
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 ...
|
#
326483c4 |
| 25-Apr-1999 |
lukem <lukem@NetBSD.org> |
change getgrent() backends so that a flag (per source) is set once the source has been exhausted. this allows getgrent() across multiple sources (e.g, ``group: files nis'') to work correctly. the fla
change getgrent() backends so that a flag (per source) is set once the source has been exhausted. this allows getgrent() across multiple sources (e.g, ``group: files nis'') to work correctly. the flags are reset in setgrent()/endgrent().
(as per similar change in getpwent.c rev 1.42)
XXX: this change means that code that uses getgrent() to obtain a list of groups will have to do duplicate suppression... getgrouplist() springs to mind; i'm about to modify that
show more ...
|
#
73e9ef01 |
| 18-Apr-1999 |
lukem <lukem@NetBSD.org> |
specifically include stdarg/varargs.h
|
#
7f1c203c |
| 26-Jan-1999 |
lukem <lukem@NetBSD.org> |
always compile in support for `compat' backends (even if !YP & !HESIOD), and make it the responsibility of the backends to fallback to `files' if !YP & !HESIOD. fixes chsh problem noted by billc@netb
always compile in support for `compat' backends (even if !YP & !HESIOD), and make it the responsibility of the backends to fallback to `files' if !YP & !HESIOD. fixes chsh problem noted by billc@netbsd.org.
show more ...
|
#
147dea10 |
| 25-Jan-1999 |
lukem <lukem@NetBSD.org> |
convert from hes_*() -> hesiod_*()
|
#
40901ecd |
| 20-Jan-1999 |
lukem <lukem@NetBSD.org> |
nsdispatch defaults now: "group: compat", "group_compat: nis"
|
#
b247a8ec |
| 19-Jan-1999 |
lukem <lukem@NetBSD.org> |
* `passwd' defaults to `compat', and `passwd_compat' defaults to `nis' * constify ns_dtab defs
|
#
6a471ed8 |
| 19-Jan-1999 |
lukem <lukem@NetBSD.org> |
convert to new nsdispatch(3)
|
#
6304dadc |
| 18-Jan-1999 |
christos <christos@NetBSD.org> |
delint
|
#
e50f4e6e |
| 16-Jan-1999 |
lukem <lukem@NetBSD.org> |
fix some gid casts
|
#
0eb8645e |
| 16-Jan-1999 |
lukem <lukem@NetBSD.org> |
pull nsswitch up to main branch
|
#
98b9f211 |
| 26-Aug-1998 |
perry <perry@NetBSD.org> |
fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but...
|
#
a843f0f8 |
| 10-Aug-1998 |
perry <perry@NetBSD.org> |
bzero->memset, bcopy->memcpy, bcmp->memcmp
|
#
131e7470 |
| 27-Jul-1998 |
mycroft <mycroft@NetBSD.org> |
Make these compile without __AUDIT__.
|
#
e5d98237 |
| 26-Jul-1998 |
mycroft <mycroft@NetBSD.org> |
const poisoning.
|
#
1f95191d |
| 26-Feb-1998 |
perry <perry@NetBSD.org> |
trivial changes to reduce lint complaints
|
#
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 ...
|
#
11cac208 |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Add missing prototypes Fix RCSID's Fix gcc warnings
|
#
76c3314d |
| 22-May-1997 |
lukem <lukem@NetBSD.org> |
a valid uid/gid *ends* in \0 (i.e, barf if (*ep != '\0'), not if (*ep == '\0'))
|
#
50820e9b |
| 22-May-1997 |
lukem <lukem@NetBSD.org> |
* parse gid with strtoul() instead of atoi(), and sanity check a) the parsed value was just a number, b) it doesn't exceed GID_MAX * convert gid to a string with %u not %d * use [gu]id_t instead of
* parse gid with strtoul() instead of atoi(), and sanity check a) the parsed value was just a number, b) it doesn't exceed GID_MAX * convert gid to a string with %u not %d * use [gu]id_t instead of int
show more ...
|