History log of /netbsd-src/lib/libc/gen/getnetgrent.c (Results 1 – 25 of 43)
Revision Date Author Comments
# 39a10a68 31-May-2016 dholland <dholland@NetBSD.org>

PR 51002 David Binderman: fix wrong printing code not enabled by default.


# cf884af3 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 definitions.
Remove use of __P


# 550147bd 21-Oct-2009 snj <snj@NetBSD.org>

Remove 3rd and 4th clauses in christos' license. OK christos.


# f2575a39 05-Apr-2008 rtr <rtr@NetBSD.org>

whitespace fix


# 5422c82a 07-Feb-2007 oster <oster@NetBSD.org>

Add "local" versions of getnetgrent() et al. and now call those for the NIS
versions. Fix conditional compilation issues with YP and NSS_FILES.


# 0271ab9d 06-Feb-2007 oster <oster@NetBSD.org>

nsdispatch()-ify getnetgrent() and friends.

Approved by: christos


# ce2c90c7 15-Oct-2006 christos <christos@NetBSD.org>

fix incomplete initializers


# f7f8c72c 03-Aug-2006 tron <tron@NetBSD.org>

Remove leftover debugging message. Problem pointed out by Kurt Schreiner
on "current-users" mailing list.


# fe9e9e8f 27-Jul-2006 dogcow <dogcow@NetBSD.org>

back out last change as it is actually a visible function.


# 98bf56ed 27-Jul-2006 dogcow <dogcow@NetBSD.org>

define _ng_cycle to be static, so gcc won't whing about its implicit decl.


# b30e946f 27-Jul-2006 christos <christos@NetBSD.org>

move include of StringList.h before netgroup.h


# 9f1d175c 27-Jul-2006 christos <christos@NetBSD.org>

add an _ng_cycle function to print the list of netgroups that are are dups.


# 6beb2a5c 19-Mar-2006 christos <christos@NetBSD.org>

Coverity 2278: Avoid leak on allocation failure.


# e7adb37a 25-Jul-2005 christos <christos@NetBSD.org>

PR/30832: Tomas Skäre: Freed memory used in lib/libc/getnetgrent.c
While there, KNF and ansify.


# 077b67ef 26-May-2002 wiz <wiz@NetBSD.org>

__STDC__ is always defined on NetBSD.


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

Delint.


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

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


# a8d12b09 28-Nov-1999 lukem <lukem@NetBSD.org>

* check the result of sl_init() and sl_add()
* return an error state back up the call chain and take appropriate
action, rather than calling err() to terminate the process


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


# 73e9ef01 18-Apr-1999 lukem <lukem@NetBSD.org>

specifically include stdarg/varargs.h


# a17402b3 22-Jan-1999 lukem <lukem@NetBSD.org>

pre nsswitch default was more like "files [notfound=return] nis"


# 45863a50 21-Jan-1999 thorpej <thorpej@NetBSD.org>

Fix two problems with the recent nsswitch changes to netgroups:
- The historic mode for netgroups was "files nis". Change the default to
this for when /etc/nsswitch.conf does not exist.
- The nis

Fix two problems with the recent nsswitch changes to netgroups:
- The historic mode for netgroups was "files nis". Change the default to
this for when /etc/nsswitch.conf does not exist.
- The nis lookup dispatch was mistakenly conditional on -DHESIOD, not -DYP.

show more ...


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


12