This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/inet getnetgrent_r.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 10 Sep 2005 03:16:29 -0000
- Subject: libc/inet getnetgrent_r.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2005-09-10 03:16:29
Modified files:
inet : getnetgrent_r.c
Log message:
Include assert.
(setup): Remove FUNC_NAME and ALL arguments, assume they are always
"setnetgrent" and 1.
(endnetgrent_hook): New function.
(internal_endnetgrent): Use it.
(__internal_setnetgrent_reuse): Use it. Adjust setup caller.
If status is NSS_STATUS_SUCCESS, yet action is continue, call
endnetgrent hook.
(internal_getnetgrent_r): Use __nss_lookup_function rather than
setup. Recompute getfct pointer after successful
__internal_setnetgrent_reuse. Don't use __nss_next.
(innetgr): Use __nss_lookup_function instead of __nss_lookup.
Adjust setup caller.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/inet/getnetgrent_r.c.diff?cvsroot=glibc&r1=1.28&r2=1.29