mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
ff3cacc50c
(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. * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear data_size and cursor. Add libnss_files_hidden_proto and libnss_files_hidden_def. (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure. * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear data_size and cursor. (_nss_nis_setnetgrent): Don't call internal_endnetgrent. (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling. * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear data_size and position. (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent. 2005-09-09 Ulrich Drepper <drepper@redhat.com> * nss/getent.c (netgroup_keys): Call endnetgrent. (main): Call mtrace. * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't need locking for the stream. Use feof_unlocked. 2005-09-09 Jakub Jelinek <jakub@redhat.com> |
||
---|---|---|
.. | ||
arpa | ||
netinet | ||
protocols | ||
.cvsignore | ||
aliases.h | ||
bug-if1.c | ||
ether_aton_r.c | ||
ether_aton.c | ||
ether_hton.c | ||
ether_line.c | ||
ether_ntoa_r.c | ||
ether_ntoa.c | ||
ether_ntoh.c | ||
getaliasent_r.c | ||
getaliasent.c | ||
getaliasname_r.c | ||
getaliasname.c | ||
gethstbyad_r.c | ||
gethstbyad.c | ||
gethstbynm2_r.c | ||
gethstbynm2.c | ||
gethstbynm_r.c | ||
gethstbynm.c | ||
gethstent_r.c | ||
gethstent.c | ||
getnameinfo.c | ||
getnetbyad_r.c | ||
getnetbyad.c | ||
getnetbynm_r.c | ||
getnetbynm.c | ||
getnetent_r.c | ||
getnetent.c | ||
getnetgrent_r.c | ||
getnetgrent.c | ||
getproto_r.c | ||
getproto.c | ||
getprtent_r.c | ||
getprtent.c | ||
getprtname_r.c | ||
getprtname.c | ||
getrpcbyname_r.c | ||
getrpcbyname.c | ||
getrpcbynumber_r.c | ||
getrpcbynumber.c | ||
getrpcent_r.c | ||
getrpcent.c | ||
getservent_r.c | ||
getservent.c | ||
getsrvbynm_r.c | ||
getsrvbynm.c | ||
getsrvbypt_r.c | ||
getsrvbypt.c | ||
herrno.c | ||
htontest.c | ||
ifaddrs.h | ||
in6_addr.c | ||
inet6_option.c | ||
inet_lnaof.c | ||
inet_mkadr.c | ||
inet_net.c | ||
inet_netof.c | ||
inet_ntoa.c | ||
Makefile | ||
netgroup.h | ||
rcmd.c | ||
rexec.c | ||
ruserpass.c | ||
test_ifindex.c | ||
test-ifaddrs.c | ||
tst-ether_aton.c | ||
tst-gethnm.c | ||
tst-network.c | ||
tst-ntoa.c | ||
Versions |