Hello community,
here is the log from the commit of package glibc for openSUSE:Factory checked in at 2012-10-12 08:03:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
and /work/SRC/openSUSE:Factory/.glibc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc", Maintainer is "matz@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2012-10-03 07:17:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glibc.new/glibc.changes 2012-10-12 08:10:49.000000000 +0200
@@ -1,0 +2,18 @@
+Tue Oct 9 07:15:12 UTC 2012 - aj@suse.de
+
+- Fix malloc_usable_size (swo#1349, bnc#745247) (patch
+ malloc-check-size.patch).
+
+- Update to current glibc 2.16 (git a5cfcf08ffaa):
+ * fix fma detection
+ * Don't parse %s format argument as multibyte string
+ * Use size_t instead of int for internal variables in glob
+ * Properly handle fencepost with MALLOC_ALIGN_MASK
+
+-------------------------------------------------------------------
+Sat Oct 6 08:51:46 UTC 2012 - meissner@suse.com
+
+- make glibc-devel-<baselib> require glibc-<baselib> just
+ like glibc-devel
+
+-------------------------------------------------------------------
Old:
----
glibc-2.16-da1f43196321.tar.xz
New:
----
glibc-2.16-a5cfcf08ffaa.tar.xz
malloc-check-size.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.askZV0/_old 2012-10-12 08:10:51.000000000 +0200
+++ /var/tmp/diff_new_pack.askZV0/_new 2012-10-12 08:10:51.000000000 +0200
@@ -122,7 +122,7 @@
Version: 2.16
Release: 0
%define glibc_major_version 2.16
-%define git_id da1f43196321
+%define git_id a5cfcf08ffaa
%define glibc_ports_ver 2.16
%define ports_git_id a20c2b3c87ae
Url: http://www.gnu.org/software/libc/libc.html
@@ -251,6 +251,11 @@
###
# Patches from upstream
###
+# PATCH-FIX-UPSTREAM Fix malloc_usable_size swo#1349, bnc#745247 - aj@suse.de
+Patch1001: malloc-check-size.patch
+# PATCH-FIX-UPSTREAM Fix mcount on PowerPC32 - aj@suse.de
+Patch1002: glibc-2.16-ppc32-mcount.patch
+
# PATCH-FIX-UPSTREAM Fix dns buffer - aj@suse.de
Patch1021: glibc-2.16-getaddrinfo-buffer.patch
# PATCH-FIX-UPSTREAM Fix sparc dynamic linker triggered by bind-now swo#14376 - aj@suse.de
@@ -265,8 +270,6 @@
Patch2005: glibc-elf-localscope.diff
# PATCH-FIX-OPENSUSE Fix LD_PROFILE (glibc bug#13818) - aj@suse.de
Patch2008: glibc-ld-profile.patch
-# PATCH-FIX-OPENSUSE Fix mcount on PowerPC32 - aj@suse.de
-Patch2009: glibc-2.16-ppc32-mcount.patch
%description
The GNU C Library provides the most important standard libraries used
@@ -498,6 +501,8 @@
%ifarch armv7l armv7hl
%patch20 -p1
%endif
+%patch1001 -p1
+%patch1002 -p1
%patch1021 -p1
%patch1022 -p1
@@ -507,7 +512,6 @@
%patch2005 -p1
# XXX Disable, it breaks the testsuite, test elf/tst-audit2
# %patch2008 -p1
-%patch2009 -p1
#
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.askZV0/_old 2012-10-12 08:10:51.000000000 +0200
+++ /var/tmp/diff_new_pack.askZV0/_new 2012-10-12 08:10:51.000000000 +0200
@@ -12,6 +12,7 @@
+/usr/lib(64)?/gconv/gconv-modules
targettype x86 -/usr/lib(64)?/gconv/gconv-modules
glibc-devel
+ requires "glibc-<targettype> = %version"
arch i586 block!
+^/usr/include/gnu/stubs-.*\.h$
glibc-devel-static
++++++ malloc-check-size.patch ++++++
commit 6ef9cc37f0ea151a54e5c8a19950a6d5b6ff8a96
Author: Siddhesh Poyarekar , 2001.
@@ -4563,6 +4563,9 @@ musable(void* mem)
mchunkptr p;
if (mem != 0) {
p = mem2chunk(mem);
+
+ if (__builtin_expect(using_malloc_checking == 1, 0))
+ return malloc_check_get_size(p);
if (chunk_is_mmapped(p))
return chunksize(p) - 2*SIZE_SZ;
else if (inuse(p))
diff --git a/malloc/tst-malloc-usable.c b/malloc/tst-malloc-usable.c
new file mode 100644
index 0000000..18decd8
--- /dev/null
+++ b/malloc/tst-malloc-usable.c
@@ -0,0 +1,49 @@
+/* Ensure that malloc_usable_size returns the request size with
+ MALLOC_CHECK_ exported to a positive value.
+
+ Copyright (C) 2012 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ http://www.gnu.org/licenses/. */
+
+#include
participants (1)
-
root@hilbert.suse.de