This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-77-g5d4cf04
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jul 2011 14:52:50 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-77-g5d4cf04
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 5d4cf042506c290f6f6c62d95ce2ebb56c854a7a (commit)
from 751eb97ef2d281711f47fbef70b59b65f7bc6959 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=5d4cf042506c290f6f6c62d95ce2ebb56c854a7a
commit 5d4cf042506c290f6f6c62d95ce2ebb56c854a7a
Author: Ulrich Drepper <drepper@gmail.com>
Date: Wed Jul 6 10:52:31 2011 -0400
Fix handling of chained netgroups
diff --git a/ChangeLog b/ChangeLog
index c853190..9b2915e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-06 Ulrich Drepper <drepper@gmail.com>
+
+ * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
+ netgroups to read.
+
2011-07-05 Roland McGrath <roland@hack.frob.com>
* config.make.in (install_root): Default to $(DESTDIR).
diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c
index 42045a2..b588897 100644
--- a/inet/getnetgrent_r.c
+++ b/inet/getnetgrent_r.c
@@ -279,6 +279,11 @@ internal_getnetgrent_r (char **hostp, char **userp, char **domainp,
namep = namep->next)
if (strcmp (datap->val.group, namep->name) == 0)
break;
+ if (namep == NULL)
+ for (namep = datap->needed_groups; namep != NULL;
+ namep = namep->next)
+ if (strcmp (datap->val.group, namep->name) == 0)
+ break
if (namep != NULL)
/* Really ignore. */
continue;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
inet/getnetgrent_r.c | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources