History log of /src/lib/libc/gen/getnetgrent.c |
Revision | | Date | Author | Comments |
1.43 |
| 31-May-2016 |
dholland | PR 51002 David Binderman: fix wrong printing code not enabled by default.
|
1.42 |
| 20-Mar-2012 |
matt | Use C89 definitions. Remove use of __P
|
1.41 |
| 21-Oct-2009 |
snj | branches: 1.41.6; Remove 3rd and 4th clauses in christos' license. OK christos.
|
1.40 |
| 05-Apr-2008 |
rtr | branches: 1.40.10; whitespace fix
|
1.39 |
| 07-Feb-2007 |
oster | Add "local" versions of getnetgrent() et al. and now call those for the NIS versions. Fix conditional compilation issues with YP and NSS_FILES.
|
1.38 |
| 06-Feb-2007 |
oster | nsdispatch()-ify getnetgrent() and friends.
Approved by: christos
|
1.37 |
| 15-Oct-2006 |
christos | fix incomplete initializers
|
1.36 |
| 03-Aug-2006 |
tron | Remove leftover debugging message. Problem pointed out by Kurt Schreiner on "current-users" mailing list.
|
1.35 |
| 27-Jul-2006 |
dogcow | back out last change as it is actually a visible function.
|
1.34 |
| 27-Jul-2006 |
dogcow | define _ng_cycle to be static, so gcc won't whing about its implicit decl.
|
1.33 |
| 27-Jul-2006 |
christos | move include of StringList.h before netgroup.h
|
1.32 |
| 27-Jul-2006 |
christos | add an _ng_cycle function to print the list of netgroups that are are dups.
|
1.31 |
| 19-Mar-2006 |
christos | Coverity 2278: Avoid leak on allocation failure.
|
1.30 |
| 25-Jul-2005 |
christos | PR/30832: Tomas Sk�re: Freed memory used in lib/libc/getnetgrent.c While there, KNF and ansify.
|
1.29 |
| 26-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.28 |
| 22-Jan-2000 |
mycroft | branches: 1.28.6; Delint.
|
1.27 |
| 22-Jan-2000 |
mycroft | Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
1.26 |
| 28-Nov-1999 |
lukem | * 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
|
1.25 |
| 20-Sep-1999 |
lukem | branches: 1.25.4; back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
1.24 |
| 16-Sep-1999 |
lukem | * 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.23 |
| 18-Apr-1999 |
lukem | specifically include stdarg/varargs.h
|
1.22 |
| 22-Jan-1999 |
lukem | pre nsswitch default was more like "files [notfound=return] nis"
|
1.21 |
| 21-Jan-1999 |
thorpej | 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.
|
1.20 |
| 19-Jan-1999 |
lukem | * `passwd' defaults to `compat', and `passwd_compat' defaults to `nis' * constify ns_dtab defs
|
1.19 |
| 19-Jan-1999 |
lukem | convert to new nsdispatch(3)
|
1.18 |
| 18-Jan-1999 |
christos | delint
|
1.17 |
| 16-Jan-1999 |
lukem | pull nsswitch up to main branch
|
1.16 |
| 27-Jul-1998 |
mycroft | Make these compile without __AUDIT__.
|
1.15 |
| 26-Jul-1998 |
mycroft | const poisoning.
|
1.14 |
| 26-Feb-1998 |
perry | trivial changes to reduce lint complaints
|
1.13 |
| 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.12 |
| 13-Jul-1997 |
christos | Fix RCSID's Use namespace.h
|
1.11 |
| 17-Jan-1997 |
lukem | branches: 1.11.2; Add stringlist implementation Convert getnetgrent from private stringlist to public version
|
1.10 |
| 20-Dec-1996 |
cgd | ifdef YP, needs rpcsvc/ypclnt.h for protos
|
1.9 |
| 27-Apr-1996 |
christos | branches: 1.9.2; 1.9.6; - grab prototypes from netgroup.h - added _ng_print, netgroup pretty printing function
|
1.8 |
| 25-Feb-1995 |
cgd | clean up Id's on files previously imported...
|
1.7 |
| 12-Dec-1994 |
jtc | Rework indirect reference support as outlined by my recent message to the tech-userlevel mailing list.
|
1.6 |
| 12-Dec-1994 |
christos | Return null for empty strings in triplets, not the empty string. Fix memory corruption with double-freeing ng_copy. (From Jason Downs)
|
1.5 |
| 11-Dec-1994 |
christos | - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to __{v,}err{x,} and __{v,}warn{x,} - moved err.c to __err.c and added err.c which contains weak references for the above functions. - Reordered the functions in __err.c to avoid redeclarations and changed the varargs declarations to conform with the K&R style.
|
1.4 |
| 04-Dec-1994 |
christos | New netgroup implementation; replaces Rick's old one that did not expand recursively or handle YP.
|
1.3 |
| 19-Oct-1994 |
cgd | needs stdlib.h
|
1.2 |
| 19-Sep-1994 |
mycroft | Fix null pointer dereference, per Rolf Grossman.
|
1.1 |
| 17-May-1994 |
mycroft | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 02-Feb-1998 |
perry | import lite-2
|
1.1.1.1 |
| 17-May-1994 |
mycroft | branches: 1.1.1.1.2; From 4.4-Lite.
|
1.1.1.1.2.1 |
| 06-Oct-1994 |
mycroft | Update from trunk.
|
1.9.6.1 |
| 06-Nov-1996 |
lukem | initial nsswitch implementation
|
1.9.2.2 |
| 19-Sep-1996 |
jtc | snapshot namespace cleanup: gen
|
1.9.2.1 |
| 16-Sep-1996 |
jtc | snapshot namespace cleanup
|
1.11.2.4 |
| 14-Jan-1999 |
lukem | use new ns_dtab structure
|
1.11.2.3 |
| 02-Nov-1998 |
lukem | sync with current
|
1.11.2.2 |
| 26-May-1997 |
lukem | only initialise ns_dtab if it hasn't been done yet
|
1.11.2.1 |
| 24-May-1997 |
lukem | convert to nsdispatch()
|
1.25.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.28.6.1 |
| 21-Jun-2002 |
nathanw | Catch up to -current.
|
1.40.10.2 |
| 05-Apr-2008 |
rtr | whitespace fix
|
1.40.10.1 |
| 05-Apr-2008 |
rtr | file getnetgrent.c was added on branch christos-time_t on 2008-04-05 08:01:55 +0000
|
1.41.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|