Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 26 Jun 1996 15:29:23 +0000 (15:29 +0000)
committerroland <roland>
Wed, 26 Jun 1996 15:29:23 +0000 (15:29 +0000)
commit295323394b2fb5501b3108d5f0c37e82e6feed43
tree2b7df08d3df8a2b02806104b13b60c0bf18b74d5
parenta8032da19ac533ca02c96052e6548c37f988d0ad
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
of strncasecmp.  Extend syntax to grok [!foo=bar].
* 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/nsswitch.c