History log of /netbsd-src/lib/libc/gen/getgrent.c (Results 51 – 67 of 67)
Revision Date Author Comments
# 8041f4f4 21-May-1997 lukem <lukem@NetBSD.org>

fix potential memory leaks: before calling yp_next(), reset key to NULL. if
an error occurred, and key != NULL, free(key).


# 27d1a636 20-May-1997 lukem <lukem@NetBSD.org>

* ensure that "outdata" values to various yp_xxx() functions are set
to the null pointer before invocation, so that the test in the
error case of "if (outdata != NULL) free(outdata)" won't potent

* ensure that "outdata" values to various yp_xxx() functions are set
to the null pointer before invocation, so that the test in the
error case of "if (outdata != NULL) free(outdata)" won't potentially
try and free memory that wasn't malloc()ed.
* factor some duplicated code out of both parts of an "if {} else {}"
construct.
* remove use of `register' & KNFify.

show more ...


# 30ec3e8a 22-Jan-1997 thorpej <thorpej@NetBSD.org>

Don't transfer the entire YP database using yp_{first,next}(); instead
use yp_match(), which is much more efficient.

From Michael.Eriksson@era-t.ericsson.se, PR #3114.


# 7edc9015 20-Dec-1996 cgd <cgd@NetBSD.org>

grscan()'s last arg has to be a const char *, not just a char *


# e69d4136 28-Jul-1995 phil <phil@NetBSD.org>

Improvements to YP support from Jason Downs.


# a63744d6 16-Mar-1995 pk <pk@NetBSD.org>

Speed up getgrnam() and getgrpid() by using yp_match().


# b585e843 27-Feb-1995 cgd <cgd@NetBSD.org>

update from Lite, with local changes. fix Ids, etc.


# 8b4fd14b 02-Aug-1994 deraadt <deraadt@NetBSD.org>

be lenient; let a few other forms of + activate YP


# 02fe919c 29-Jul-1994 deraadt <deraadt@NetBSD.org>

avoid core dump


# 46703c8a 07-Mar-1994 deraadt <deraadt@NetBSD.org>

better, more forgiving solution to previous problem.


# 90250ee8 06-Mar-1994 deraadt <deraadt@NetBSD.org>

fix small obscure YP buglet, and properly terminate gr_mem


# 9bd83209 24-Nov-1993 jtc <jtc@NetBSD.org>

Change C library functions to use strchr() and strrchr() instead of index()
and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effectin

Change C library functions to use strchr() and strrchr() instead of index()
and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.

show more ...


# 71afdb43 25-Oct-1993 jtc <jtc@NetBSD.org>

Update source and manual pages to match X/Open 1170 specification.
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated cod

Update source and manual pages to match X/Open 1170 specification.
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated code).

show more ...


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# f23f94cb 30-Jul-1993 mycroft <mycroft@NetBSD.org>

Add even more RCS frobs.


# 3cbc24e4 04-May-1993 deraadt <deraadt@NetBSD.org>

I was horrified to find these had not been commited with the YP changes.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources


123