Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 2 Apr 2004 09:18:29 +0000 (09:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 2 Apr 2004 09:18:29 +0000 (09:18 +0000)
commit4eb6619c70e5db05babfa14abcf389236b73e0df
tree654166e85dfe14f4750c7eaabc8d5ae5f2444d38
parent0fce307092e09edb96e0cd69733f1130ca826145
Update.

2004-04-02  Jakub Jelinek  <jakub@redhat.com>

* nis/nss: Add SERVICES_AUTHORITATIVE.
* nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE,
NSS_FLAG_SERVICES_AUTHORITATIVE): Define.
(_nis_default_nss_flags, _nis_check_default_nss): New decls.
(_nis_default_nss): New inline.
* nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h.
(_nis_default_nss_flags, default_nss): New variables.
(_nis_check_default_nss): New function.
* nis/nss_nis/nis-initgroups.c: Don't include stdio.h and
stdio_ext.h.
(check_default_nss, default_nss): Move to nss-nis.c.
(init): Removed.
(_nss_nis_initgroups_dyn): Use _nis_default_nss ().
* nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If
NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup
fails, return immediately.
ChangeLog
nis/nss-nis.c
nis/nss-nis.h
nis/nss_nis/nis-initgroups.c
nis/nss_nis/nis-service.c