diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-30 18:34:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-30 18:34:08 +0000 |
commit | e98fb1a6172fe54007525523f7a6cb88478d492c (patch) | |
tree | 5e5d7e13b78eb1f6aff0505af02ebdb8de127a37 /nis/nss_nis | |
parent | ff0913d3a334d61b20f8e91fdee7ac87ff03aa15 (diff) | |
download | glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.tar glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.tar.gz glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.tar.bz2 glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.zip |
Update.
* nis/Makefile (distribute): Add nss.
* nis/nss: New file.
Diffstat (limited to 'nis/nss_nis')
-rw-r--r-- | nis/nss_nis/nis-initgroups.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c index 4469e4f4d8..e3ba0cd2dd 100644 --- a/nis/nss_nis/nis-initgroups.c +++ b/nis/nss_nis/nis-initgroups.c @@ -162,6 +162,10 @@ check_default_nss (void) while (isspace (*cp)) ++cp; + /* Recognize comment lines. */ + if (*cp == '#') + continue; + static const char netid_authoritative[] = "NETID_AUTHORITATIVE"; if (strncmp (cp, netid_authoritative, sizeof (netid_authoritative) - 1) != 0) |