History log of /netbsd-current/distrib/utils/libhack/getgrent.c
Revision Date Author Comments
# 1.12 14-Sep-2005 drochner

branches: 1.12.20;
emulate getgrouplist() directly, no need to pull in
the wrapper from libc


# 1.11 14-Sep-2005 he

pty.o in libutil.a wants to call getgrent_r(), so provide a cheesy
non-reentrant version here in order to avoid linker conflicts when
the rest of this file is attempted linked together with libc's
getgrent.o.

Reviewed by christos.


# 1.10 01-Apr-2005 he

Include <unistd.h> to get the getgroupmembership() prototype.


# 1.9 06-Jan-2005 lukem

Implement getgroupmembership(3). This is similar to getgrouplist(3), except
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).

Proposed on tech-userlevel on December 1, 2004.


# 1.8 13-Oct-2003 agc

Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause. Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.


# 1.7 07-Aug-2003 agc

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

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


# 1.6 19-Feb-2003 elric

Sync this file up with its counterpart in libc,
src/lib/libc/gen/getgrent.c
Patch and PR provided by: FUKAUMI Naoki

Addresses PR lib/20365


# 1.5 02-Feb-2002 lukem

sync closer to libc version


# 1.4 15-Jun-2001 tsutsui

Add definitions for weak aliases so that libhack functions
are actually linked instead of libc ones on ELF systems.
Fixes install/13050 and install/13153.


# 1.3 13-Mar-1999 sommerfe

Warnsify.
Add reduced version of getcap routines, so sysinst need not drag in
the database goop via libtermcap.


# 1.2 13-Oct-1995 gwr

branches: 1.2.4;
Minor cleanup


# 1.1 08-Oct-1995 gwr

branches: 1.1.1;
Initial revision


# 1.1.1.1 08-Oct-1995 gwr

branches: 1.1.1.1.2;
Add some utilities all ports might use in a ramdisk root.


# 1.1.1.1.2.1 11-Oct-1995 gwr

Minor cleanup.


# 1.2.4.2 13-Oct-1995 gwr

Minor cleanup


# 1.2.4.1 13-Oct-1995 gwr

file getgrent.c was added on branch netbsd-1-1 on 1995-10-13 18:10:24 +0000


# 1.12.20.1 05-Oct-2008 mjf

Sync with HEAD.