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.14-287-g633f745


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  633f745dcad9c7324f56f8ef85ee9b460b1006e7 (commit)
      from  f318beb8000dfcc4d8bb9f7293dc0d3e1ecdef8e (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=633f745dcad9c7324f56f8ef85ee9b460b1006e7

commit 633f745dcad9c7324f56f8ef85ee9b460b1006e7
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sun Sep 11 13:04:17 2011 -0400

    Avoid cast in non-gcc obstack_free

diff --git a/ChangeLog b/ChangeLog
index 26b89a2..7f9208f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
 
+	[BZ #13067]
+	* malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
+
 	[BZ #13090]
 	* configure.in: Fix use of AC_INIT.
 
diff --git a/NEWS b/NEWS
index f517a3e..8e22f43 100644
--- a/NEWS
+++ b/NEWS
@@ -10,8 +10,8 @@ Version 2.15
 * The following bugs are resolved with this release:
 
   9696, 11589, 12403, 12847, 12868, 12852, 12874, 12885, 12907, 12922,
-  12935, 13007, 13021, 13068, 13090, 13092, 13114, 13118, 13123, 13134,
-  13138, 13150
+  12935, 13007, 13021, 13067, 13068, 13090, 13092, 13114, 13118, 13123,
+  13134, 13138, 13150
 
 * New program pldd to list loaded object of a process
   Implemented by Ulrich Drepper.
diff --git a/malloc/obstack.h b/malloc/obstack.h
index 449070e..4677891 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -1,5 +1,5 @@
 /* obstack.h - object stack macros
-   Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009
+   Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009,2011
 	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -496,9 +496,9 @@ __extension__								\
 ( (h)->temp.tempint = (char *) (obj) - (char *) (h)->chunk,		\
   ((((h)->temp.tempint > 0						\
     && (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk))	\
-   ? (int) ((h)->next_free = (h)->object_base				\
-	    = (h)->temp.tempint + (char *) (h)->chunk)			\
-   : (((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0), 0)))
+   ? (((h)->next_free = (h)->object_base				\
+       = (h)->temp.tempint + (char *) (h)->chunk), 0)			\
+   : ((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0)))
 
 #endif /* not __GNUC__ or not __STDC__ */
 

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

Summary of changes:
 ChangeLog        |    3 +++
 NEWS             |    4 ++--
 malloc/obstack.h |    8 ++++----
 3 files changed, 9 insertions(+), 6 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]