aboutsummaryrefslogtreecommitdiff
path: root/nis/nss_nis
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-30 18:34:08 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-30 18:34:08 +0000
commite98fb1a6172fe54007525523f7a6cb88478d492c (patch)
tree5e5d7e13b78eb1f6aff0505af02ebdb8de127a37 /nis/nss_nis
parentff0913d3a334d61b20f8e91fdee7ac87ff03aa15 (diff)
downloadglibc-e98fb1a6172fe54007525523f7a6cb88478d492c.zip
glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.tar.gz
glibc-e98fb1a6172fe54007525523f7a6cb88478d492c.tar.bz2
Update.
* nis/Makefile (distribute): Add nss. * nis/nss: New file.
Diffstat (limited to 'nis/nss_nis')
-rw-r--r--nis/nss_nis/nis-initgroups.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c
index 4469e4f..e3ba0cd 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)