This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-548-gd34c915


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  d34c915826734cf20b189e925aac9b9f176bcd53 (commit)
      from  da1304bcc8d718f40e58d92726c0fbc7b0d0794d (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d34c915826734cf20b189e925aac9b9f176bcd53

commit d34c915826734cf20b189e925aac9b9f176bcd53
Author: Jan-Benedict Glaw <jbglaw@getslash.de>
Date:   Mon Apr 22 10:44:31 2013 -0700

    Fix getent to call endspent rather than endpwent for shadow database.

diff --git a/ChangeLog b/ChangeLog
index fffe816..e16ef0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
+
+	* nss/getent.c (shadow_keys): Call endspent, not endpwent.
+
 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
diff --git a/nss/getent.c b/nss/getent.c
index aa4eaf9..8a3c864 100644
--- a/nss/getent.c
+++ b/nss/getent.c
@@ -841,7 +841,7 @@ shadow_keys (int number, char *key[])
       setspent ();
       while ((sp = getspent ()) != NULL)
 	print_shadow (sp);
-      endpwent ();
+      endspent ();
       return result;
     }
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    4 ++++
 nss/getent.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]