GNU C Library master sources branch, fedora/2.12/master, updated. fedora/glibc-2.12-3-8-ged36015

schwab@sourceware.org schwab@sourceware.org
Wed Aug 18 09:51:00 GMT 2010


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, fedora/2.12/master has been updated
       via  ed360154f28602fe66aadde79722ef2eb8bfb5bd (commit)
       via  7f72c0431ac8c946d88639d0260420c312a14201 (commit)
       via  77f177b804b4f4c3912fb9014065a6cebe031116 (commit)
       via  d8d583fc44fbdc7014ae1f684589afd8214e73be (commit)
       via  d48b760747e6e6eac5d294667a2aac94f55b7649 (commit)
       via  5305f9b09df3450b69d45bcf84d45afa6d9fd577 (commit)
       via  6164128f1ca84eea240b66f977054e16b94b3c86 (commit)
       via  e91943bf3550d6ec311f05f95bae4d659cb7313b (commit)
      from  0639864f66ce7f6abcc64cb8a1ac012d5c0fc82f (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=ed360154f28602fe66aadde79722ef2eb8bfb5bd

commit ed360154f28602fe66aadde79722ef2eb8bfb5bd
Author: Andreas Schwab <schwab@redhat.com>
Date:   Tue Aug 17 13:57:45 2010 +0200

    2.12.1-1

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index e1b9b87..d7337a3 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -20,7 +20,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 3
+Release: 1
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1028,6 +1028,11 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Tue Aug 17 2010 Andreas Schwab <schwab@redhat.com> - 2.12.1-1
+- Update from 2.12 branch
+  - 2.12.1 release
+  - Fix error handling in getlogin_r (#580709)
+
 * Tue Jul  6 2010 Andreas Schwab <schwab@redhat.com> - 2.12-3
 - Update from 2.12 branch
   - Fix use of extend_alloca in NIS

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7f72c0431ac8c946d88639d0260420c312a14201

commit 7f72c0431ac8c946d88639d0260420c312a14201
Merge: 77f177b d8d583f
Author: Andreas Schwab <schwab@redhat.com>
Date:   Tue Aug 17 13:51:58 2010 +0200

    Merge remote branch 'origin/release/2.12/master' into fedora/2.12/master

diff --cc ChangeLog
index 31ebaac,31c6a64..9c5add5
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,7 -1,26 +1,30 @@@
+ 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
+ 
+ 	* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ 	Also fail if tpwd after pwuid call is NULL.
+ 
+ 2010-06-21  Andreas Schwab <schwab@redhat.com>
+ 
+ 	* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ 	Restore proper fallback handling.
+ 
+ 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
+ 
+ 	* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
+ 	OOM in getpwuid_r correctly.  Return error number when the caller
+ 	should return, otherwise -1.
+ 	(getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
+ 	call returning > 0 value.
+ 	* sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
+ 
+ 2010-07-27  Andreas Schwab  <schwab@redhat.com>
+ 
+ 	* version.h (VERSION): Bump for 2.12.1 release.
+ 
 +2010-06-21  Andreas Schwab  <schwab@redhat.com>
 +
 +	* sysdeps/i386/i686/Makefile: Don't pass -mtune to assembler.
 +
  2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
  
  	* elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=77f177b804b4f4c3912fb9014065a6cebe031116

commit 77f177b804b4f4c3912fb9014065a6cebe031116
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Jul 23 17:39:31 2010 +0200

    build-locale-archive: process only directories matching *_*

diff --git a/fedora/build-locale-archive.c b/fedora/build-locale-archive.c
index f68c788..474f666 100644
--- a/fedora/build-locale-archive.c
+++ b/fedora/build-locale-archive.c
@@ -561,7 +561,7 @@ int main ()
 	{
 	  char *ptr = malloc (strlen (primary) + strlen (".utf8") + 1), *p, *q;
 
-	  if (ptr)
+	  if (ptr != NULL)
 	    {
 	      p = ptr;
 	      q = primary;
@@ -585,6 +585,8 @@ int main ()
     {
       if (strcmp (d->d_name, ".") == 0 || strcmp (d->d_name, "..") == 0)
 	continue;
+      if (strchr (d->d_name, '_') == NULL)
+	continue;
 
       size_t d_name_len = strlen (d->d_name);
       if (loc_path_len + d_name_len + 1 > sizeof (path))
@@ -602,7 +604,10 @@ int main ()
       if (! S_ISDIR (st.st_mode))
 	continue;
       if (cnt == 16384)
-	error (EXIT_FAILURE, 0, "too many directories in \"%s\"", loc_path);
+	{
+	  error (0, 0, "too many directories in \"%s\"", loc_path);
+	  break;
+	}
       list[cnt] = strdup (path);
       if (list[cnt] == NULL)
 	{

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

Summary of changes:
 ChangeLog                            |   23 +++++++++++++++++++++++
 NOTES                                |    2 +-
 fedora/build-locale-archive.c        |    9 +++++++--
 fedora/glibc.spec.in                 |    7 ++++++-
 sysdeps/unix/sysv/linux/getlogin.c   |    5 +++--
 sysdeps/unix/sysv/linux/getlogin_r.c |   32 +++++++++++++++++++-------------
 version.h                            |    2 +-
 7 files changed, 60 insertions(+), 20 deletions(-)


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



More information about the Glibc-cvs mailing list