Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 26 Jun 1996 15:29:07 +0000 (15:29 +0000)
committerroland <roland>
Wed, 26 Jun 1996 15:29:07 +0000 (15:29 +0000)
commitc848a5c82a5e9a704de8787dee80938ca63c6749
tree4ee867c5bb8baf23471b7ec276ea6910089904df
parent6e5d0642dc898269e6db4b24168864c4140e1a83
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
(service_alias): Variable removed.
(nss_parse_service_list): New function, broken out of nss_getline.
Remove alias conversion; we will just use symlinks.
(__nss_database_lookup): Take new string arg DEFCONFIG.
If no entry exists, make one with service list parsed from that.
* nss/nsswitch.h: Update protocol for __nss_database_lookup.
* nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
(DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
nss/XXX-lookup.c
nss/nsswitch.h