This commit is contained in:
Andreas Schwab 2010-06-01 17:20:07 +00:00
parent a5c0552244
commit 571164ddbe
5 changed files with 314 additions and 241 deletions

View File

@ -1,2 +1,2 @@
glibc-2.12-2-gc4ccff1-fedora.tar.bz2
glibc-2.12-2-gc4ccff1.tar.bz2
glibc-2.12-22-g6f8d0c6-fedora.tar.bz2
glibc-2.12-22-g6f8d0c6.tar.bz2

View File

@ -1,91 +1,5 @@
--- glibc-2.12-2-gc4ccff1/ChangeLog
+++ glibc-2.12-1/ChangeLog
@@ -241,6 +241,12 @@
* Makerules (libc-abis): Fix search for libc-abis in add-ons.
+2010-04-06 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/posix/getaddrinfo.c (default_scopes): Assign global
+ scope to RFC 1918 addresses.
+ * posix/gai.conf: Document difference from RFC 3484.
+
2010-04-05 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/.
@@ -995,6 +1001,19 @@
* sysdeps/x86_64/fpu/fegetenv.c: Likewise
* sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers.
+2009-10-27 Aurelien Jarno <aurelien@aurel32.net>
+
+ [BZ #10855]
+ * locale/programs/locarchive.c: use MMAP_SHARED to reserve memory
+ used later with MMAP_FIXED | MMAP_SHARED to cope with different
+ alignment restrictions.
+
+2010-02-08 Andreas Schwab <schwab@redhat.com>
+
+ [BZ #11155]
+ * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Include i386
+ version.
+
2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
[BZ #11230]
@@ -2938,6 +2957,11 @@ d2009-10-30 Ulrich Drepper <drepper@re
* sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in
the unique symbol hash table should not be const.
+2009-07-22 Jakub Jelinek <jakub@redhat.com>
+
+ * Makeconfig (ASFLAGS): Append $(sysdep-ASFLAGS).
+ * sysdeps/i386/Makefile (sysdep-ASFLAGS): Add -U__i686.
+
2009-07-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove
@@ -3203,6 +3227,11 @@ d2009-10-30 Ulrich Drepper <drepper@re
out common code into new function get_common_indeces. Determine
extended family and model for Intel processors.
+2009-06-26 Andreas Schwab <aschwab@redhat.com>
+
+ * timezone/zic.c (stringzone): Don't try to generate a POSIX TZ
+ string when the timezone ends in DST.
+
2009-06-26 Ulrich Drepper <drepper@redhat.com>
* resolv/resolv.h: Define RES_SNGLKUPREOP.
@@ -11896,6 +11925,10 @@ d2009-10-30 Ulrich Drepper <drepper@re
[BZ #4368]
* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
+2007-04-16 Jakub Jelinek <jakub@redhat.com>
+
+ * locale/programs/locarchive.c (add_alias, insert_name): Remove static.
+
2007-04-16 Ulrich Drepper <drepper@redhat.com>
[BZ #4364]
@@ -13153,6 +13186,15 @@ d2009-10-30 Ulrich Drepper <drepper@re
separators also if no non-zero digits found.
* stdlib/Makefile (tests): Add tst-strtod3.
+2006-12-10 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/netlinkaccess.h: Include linux/if_addr.h
+ if IFA_MAX is not defined.
+ (IFA_RTA, IFA_PAYLOAD, IFLA_RTA, IFLA_PAYLOAD): Define if not
+ defined.
+ * sysdeps/unix/sysv/linux/check_pf.c: Include netlinkaccess.h
+ instead of asm/types.h, linux/netlink.h and linux/rtnetlink.h.
+
2006-12-09 Ulrich Drepper <drepper@redhat.com>
[BZ #3632]
--- glibc-2.12-2-gc4ccff1/ChangeLog.15
+++ glibc-2.12-1/ChangeLog.15
--- glibc-2.12-22-g6f8d0c6/ChangeLog.15
+++ glibc-2.12-2/ChangeLog.15
@@ -477,6 +477,14 @@
2004-11-26 Jakub Jelinek <jakub@redhat.com>
@ -151,8 +65,8 @@
2004-08-30 Roland McGrath <roland@frob.com>
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
--- glibc-2.12-2-gc4ccff1/ChangeLog.16
+++ glibc-2.12-1/ChangeLog.16
--- glibc-2.12-22-g6f8d0c6/ChangeLog.16
+++ glibc-2.12-2/ChangeLog.16
@@ -2042,6 +2042,9 @@
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.
@ -206,8 +120,108 @@
2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
[BZ #1137]
--- glibc-2.12-2-gc4ccff1/Makeconfig
+++ glibc-2.12-1/Makeconfig
--- glibc-2.12-22-g6f8d0c6/ChangeLog.17
+++ glibc-2.12-2/ChangeLog.17
@@ -13,6 +13,13 @@
handled here anymore.
Patch mostly by Matt Turner <mattst88@gmail.com>.
+2010-05-27 Andreas Schwab <schwab@redhat.com>
+
+ * elf/Makefile ($(objpfx)tst-tls10): Depend on
+ $(objpfx)tst-tlsmod7.so.
+ ($(objpfx)tst-tls11): Depend on $(objpfx)tst-tlsmod9.so.
+ ($(objpfx)tst-tls12): Depend on $(objpfx)tst-tlsmod11.so.
+
2010-05-03 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump for 2.12 release.
@@ -256,6 +263,12 @@
* Makerules (libc-abis): Fix search for libc-abis in add-ons.
+2010-04-06 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/posix/getaddrinfo.c (default_scopes): Assign global
+ scope to RFC 1918 addresses.
+ * posix/gai.conf: Document difference from RFC 3484.
+
2010-04-05 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/.
@@ -1010,6 +1023,19 @@
* sysdeps/x86_64/fpu/fegetenv.c: Likewise
* sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers.
+2009-10-27 Aurelien Jarno <aurelien@aurel32.net>
+
+ [BZ #10855]
+ * locale/programs/locarchive.c: use MMAP_SHARED to reserve memory
+ used later with MMAP_FIXED | MMAP_SHARED to cope with different
+ alignment restrictions.
+
+2010-02-08 Andreas Schwab <schwab@redhat.com>
+
+ [BZ #11155]
+ * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Include i386
+ version.
+
2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
[BZ #11230]
@@ -2953,6 +2979,11 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in
the unique symbol hash table should not be const.
+2009-07-22 Jakub Jelinek <jakub@redhat.com>
+
+ * Makeconfig (ASFLAGS): Append $(sysdep-ASFLAGS).
+ * sysdeps/i386/Makefile (sysdep-ASFLAGS): Add -U__i686.
+
2009-07-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove
@@ -3218,6 +3249,11 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>
out common code into new function get_common_indeces. Determine
extended family and model for Intel processors.
+2009-06-26 Andreas Schwab <aschwab@redhat.com>
+
+ * timezone/zic.c (stringzone): Don't try to generate a POSIX TZ
+ string when the timezone ends in DST.
+
2009-06-26 Ulrich Drepper <drepper@redhat.com>
* resolv/resolv.h: Define RES_SNGLKUPREOP.
@@ -11911,6 +11947,10 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>
[BZ #4368]
* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
+2007-04-16 Jakub Jelinek <jakub@redhat.com>
+
+ * locale/programs/locarchive.c (add_alias, insert_name): Remove static.
+
2007-04-16 Ulrich Drepper <drepper@redhat.com>
[BZ #4364]
@@ -13168,6 +13208,15 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>
separators also if no non-zero digits found.
* stdlib/Makefile (tests): Add tst-strtod3.
+2006-12-10 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/netlinkaccess.h: Include linux/if_addr.h
+ if IFA_MAX is not defined.
+ (IFA_RTA, IFA_PAYLOAD, IFLA_RTA, IFLA_PAYLOAD): Define if not
+ defined.
+ * sysdeps/unix/sysv/linux/check_pf.c: Include netlinkaccess.h
+ instead of asm/types.h, linux/netlink.h and linux/rtnetlink.h.
+
2006-12-09 Ulrich Drepper <drepper@redhat.com>
[BZ #3632]
--- glibc-2.12-22-g6f8d0c6/Makeconfig
+++ glibc-2.12-2/Makeconfig
@@ -789,12 +789,12 @@ endif
# The assembler can generate debug information too.
ifndef ASFLAGS
@ -224,8 +238,8 @@
ifndef BUILD_CC
BUILD_CC = $(CC)
--- glibc-2.12-2-gc4ccff1/csu/Makefile
+++ glibc-2.12-1/csu/Makefile
--- glibc-2.12-22-g6f8d0c6/csu/Makefile
+++ glibc-2.12-2/csu/Makefile
@@ -93,7 +93,8 @@ omit-deps += $(crtstuff)
$(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
$(compile.S) -g0 $(ASFLAGS-.os) -o $@
@ -236,9 +250,9 @@
vpath initfini.c $(sysdirs)
--- glibc-2.12-2-gc4ccff1/csu/elf-init.c
+++ glibc-2.12-1/csu/elf-init.c
@@ -63,6 +63,23 @@ extern void (*__init_array_end []) (int,
--- glibc-2.12-22-g6f8d0c6/csu/elf-init.c
+++ glibc-2.12-2/csu/elf-init.c
@@ -63,6 +63,23 @@ extern void (*__init_array_end []) (int, char **, char **)
extern void (*__fini_array_start []) (void) attribute_hidden;
extern void (*__fini_array_end []) (void) attribute_hidden;
@ -262,8 +276,8 @@
/* These function symbols are provided for the .init/.fini section entry
points automagically by the linker. */
--- glibc-2.12-2-gc4ccff1/debug/tst-chk1.c
+++ glibc-2.12-1/debug/tst-chk1.c
--- glibc-2.12-22-g6f8d0c6/debug/tst-chk1.c
+++ glibc-2.12-2/debug/tst-chk1.c
@@ -17,6 +17,9 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
@ -292,8 +306,25 @@
# define O 0
# else
# define O 1
--- glibc-2.12-2-gc4ccff1/elf/ldconfig.c
+++ glibc-2.12-1/elf/ldconfig.c
--- glibc-2.12-22-g6f8d0c6/elf/Makefile
+++ glibc-2.12-2/elf/Makefile
@@ -759,11 +759,11 @@ $(objpfx)tst-tls8.out: $(objpfx)tst-tlsmod3.so $(objpfx)tst-tlsmod4.so
$(objpfx)tst-tls9: $(libdl)
$(objpfx)tst-tls9.out: $(objpfx)tst-tlsmod5.so $(objpfx)tst-tlsmod6.so
-$(objpfx)tst-tls10: $(objpfx)tst-tlsmod8.so
+$(objpfx)tst-tls10: $(objpfx)tst-tlsmod8.so $(objpfx)tst-tlsmod7.so
-$(objpfx)tst-tls11: $(objpfx)tst-tlsmod10.so
+$(objpfx)tst-tls11: $(objpfx)tst-tlsmod10.so $(objpfx)tst-tlsmod9.so
-$(objpfx)tst-tls12: $(objpfx)tst-tlsmod12.so
+$(objpfx)tst-tls12: $(objpfx)tst-tlsmod12.so $(objpfx)tst-tlsmod11.so
$(objpfx)tst-tls13: $(libdl)
$(objpfx)tst-tls13.out: $(objpfx)tst-tlsmod13a.so
--- glibc-2.12-22-g6f8d0c6/elf/ldconfig.c
+++ glibc-2.12-2/elf/ldconfig.c
@@ -1031,17 +1031,19 @@ search_dirs (void)
@ -316,7 +347,7 @@
if (do_chroot && opt_chroot)
{
@@ -1102,7 +1104,14 @@ parse_conf (const char *filename, bool d
@@ -1102,7 +1104,14 @@ parse_conf (const char *filename, bool do_chroot)
cp += 8;
while ((dir = strsep (&cp, " \t")) != NULL)
if (dir[0] != '\0')
@ -332,7 +363,7 @@
}
else if (!strncasecmp (cp, "hwcap", 5) && isblank (cp[5]))
{
@@ -1165,7 +1174,7 @@ parse_conf (const char *filename, bool d
@@ -1165,7 +1174,7 @@ parse_conf (const char *filename, bool do_chroot)
config files to read. */
static void
parse_conf_include (const char *config_file, unsigned int lineno,
@ -341,7 +372,7 @@
{
if (opt_chroot && pattern[0] != '/')
error (EXIT_FAILURE, 0,
@@ -1197,7 +1206,7 @@ parse_conf_include (const char *config_f
@@ -1197,7 +1206,7 @@ parse_conf_include (const char *config_file, unsigned int lineno,
{
case 0:
for (size_t i = 0; i < gl.gl_pathc; ++i)
@ -374,9 +405,9 @@
+ add_arch_dirs (config_file);
}
char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE;
--- glibc-2.12-2-gc4ccff1/elf/tst-stackguard1.c
+++ glibc-2.12-1/elf/tst-stackguard1.c
const char *aux_cache_file = _PATH_LDCONFIG_AUX_CACHE;
--- glibc-2.12-22-g6f8d0c6/elf/tst-stackguard1.c
+++ glibc-2.12-2/elf/tst-stackguard1.c
@@ -160,17 +160,21 @@ do_test (void)
the 16 runs, something is very wrong. */
int ndifferences = 0;
@ -401,16 +432,16 @@
{
puts ("stack guard canaries are not randomized enough");
puts ("nor equal to the default canary value");
--- glibc-2.12-2-gc4ccff1/include/bits/stdlib-ldbl.h
+++ glibc-2.12-1/include/bits/stdlib-ldbl.h
--- glibc-2.12-22-g6f8d0c6/include/bits/stdlib-ldbl.h
+++ glibc-2.12-2/include/bits/stdlib-ldbl.h
@@ -0,0 +1 @@
+#include <stdlib/bits/stdlib-ldbl.h>
--- glibc-2.12-2-gc4ccff1/include/bits/wchar-ldbl.h
+++ glibc-2.12-1/include/bits/wchar-ldbl.h
--- glibc-2.12-22-g6f8d0c6/include/bits/wchar-ldbl.h
+++ glibc-2.12-2/include/bits/wchar-ldbl.h
@@ -0,0 +1 @@
+#include <wcsmbs/bits/wchar-ldbl.h>
--- glibc-2.12-2-gc4ccff1/include/features.h
+++ glibc-2.12-1/include/features.h
--- glibc-2.12-22-g6f8d0c6/include/features.h
+++ glibc-2.12-2/include/features.h
@@ -308,8 +308,13 @@
#endif
@ -427,8 +458,8 @@
# define __USE_FORTIFY_LEVEL 2
# else
# define __USE_FORTIFY_LEVEL 1
--- glibc-2.12-2-gc4ccff1/intl/locale.alias
+++ glibc-2.12-1/intl/locale.alias
--- glibc-2.12-22-g6f8d0c6/intl/locale.alias
+++ glibc-2.12-2/intl/locale.alias
@@ -57,8 +57,6 @@ korean ko_KR.eucKR
korean.euc ko_KR.eucKR
ko_KR ko_KR.eucKR
@ -438,8 +469,8 @@
norwegian nb_NO.ISO-8859-1
nynorsk nn_NO.ISO-8859-1
polish pl_PL.ISO-8859-2
--- glibc-2.12-2-gc4ccff1/libio/stdio.h
+++ glibc-2.12-1/libio/stdio.h
--- glibc-2.12-22-g6f8d0c6/libio/stdio.h
+++ glibc-2.12-2/libio/stdio.h
@@ -165,10 +165,12 @@ typedef _G_fpos64_t fpos64_t;
extern struct _IO_FILE *stdin; /* Standard input stream. */
extern struct _IO_FILE *stdout; /* Standard output stream. */
@ -453,8 +484,8 @@
__BEGIN_NAMESPACE_STD
/* Remove file FILENAME. */
--- glibc-2.12-2-gc4ccff1/locale/iso-4217.def
+++ glibc-2.12-1/locale/iso-4217.def
--- glibc-2.12-22-g6f8d0c6/locale/iso-4217.def
+++ glibc-2.12-2/locale/iso-4217.def
@@ -8,6 +8,7 @@
*
* !!! The list has to be sorted !!!
@ -463,7 +494,7 @@
DEFINE_INT_CURR("AED") /* United Arab Emirates Dirham */
DEFINE_INT_CURR("AFN") /* Afghanistan Afgani */
DEFINE_INT_CURR("ALL") /* Albanian Lek */
@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD") /* Armenia Dram
@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD") /* Armenia Dram */
DEFINE_INT_CURR("ANG") /* Netherlands Antilles */
DEFINE_INT_CURR("AOA") /* Angolan Kwanza */
DEFINE_INT_CURR("ARS") /* Argentine Peso */
@ -478,7 +509,7 @@
DEFINE_INT_CURR("BGN") /* Bulgarian Lev */
DEFINE_INT_CURR("BHD") /* Bahraini Dinar */
DEFINE_INT_CURR("BIF") /* Burundi Franc */
@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP") /* Cuban Peso *
@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP") /* Cuban Peso */
DEFINE_INT_CURR("CVE") /* Cape Verde Escudo */
DEFINE_INT_CURR("CYP") /* Cypriot Pound */
DEFINE_INT_CURR("CZK") /* Czech Koruna */
@ -486,7 +517,7 @@
DEFINE_INT_CURR("DJF") /* Djibouti Franc */
DEFINE_INT_CURR("DKK") /* Danish Krone (Faroe Islands, Greenland) */
DEFINE_INT_CURR("DOP") /* Dominican Republic */
@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD") /* Algerian Dina
@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD") /* Algerian Dinar */
DEFINE_INT_CURR("EEK") /* Estonian Kroon */
DEFINE_INT_CURR("EGP") /* Egyptian Pound */
DEFINE_INT_CURR("ERN") /* Eritrean Nakfa */
@ -507,7 +538,7 @@
DEFINE_INT_CURR("GTQ") /* Guatemala Quetzal */
DEFINE_INT_CURR("GYD") /* Guyana Dollar */
DEFINE_INT_CURR("HKD") /* Hong Kong Dollar */
@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK") /* Croatia Kuna
@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK") /* Croatia Kuna */
DEFINE_INT_CURR("HTG") /* Haiti Gourde */
DEFINE_INT_CURR("HUF") /* Hungarian Forint */
DEFINE_INT_CURR("IDR") /* Indonesia Rupiah */
@ -522,7 +553,7 @@
DEFINE_INT_CURR("JEP") /* Jersey Pound */
DEFINE_INT_CURR("JMD") /* Jamaican Dollar */
DEFINE_INT_CURR("JOD") /* Jordanian Dinar */
@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR") /* Sri Lankan Ru
@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR") /* Sri Lankan Rupee */
DEFINE_INT_CURR("LRD") /* Liberian Dollar */
DEFINE_INT_CURR("LSL") /* Lesotho Maloti */
DEFINE_INT_CURR("LTL") /* Lithuanian Litas */
@ -530,7 +561,7 @@
DEFINE_INT_CURR("LVL") /* Latvia Lat */
DEFINE_INT_CURR("LYD") /* Libyan Arab Jamahiriya Dinar */
DEFINE_INT_CURR("MAD") /* Moroccan Dirham */
@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM") /* Mozambique Me
@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM") /* Mozambique Metical */
DEFINE_INT_CURR("NAD") /* Namibia Dollar */
DEFINE_INT_CURR("NGN") /* Nigeria Naira */
DEFINE_INT_CURR("NIO") /* Nicaragua Cordoba Oro */
@ -538,7 +569,7 @@
DEFINE_INT_CURR("NOK") /* Norwegian Krone */
DEFINE_INT_CURR("NPR") /* Nepalese Rupee */
DEFINE_INT_CURR("NZD") /* New Zealand Dollar */
@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK") /* Papau New Gui
@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK") /* Papau New Guinea Kina */
DEFINE_INT_CURR("PHP") /* Philippines Peso */
DEFINE_INT_CURR("PKR") /* Pakistan Rupee */
DEFINE_INT_CURR("PLN") /* Polish Zloty */
@ -546,9 +577,9 @@
DEFINE_INT_CURR("PYG") /* Paraguay Guarani */
DEFINE_INT_CURR("QAR") /* Qatar Rial */
DEFINE_INT_CURR("ROL") /* Romanian Leu */
--- glibc-2.12-2-gc4ccff1/locale/programs/locarchive.c
+++ glibc-2.12-1/locale/programs/locarchive.c
@@ -134,7 +134,7 @@ create_archive (const char *archivefname
--- glibc-2.12-22-g6f8d0c6/locale/programs/locarchive.c
+++ glibc-2.12-2/locale/programs/locarchive.c
@@ -134,7 +134,7 @@ create_archive (const char *archivefname, struct locarhandle *ah)
size_t reserved = RESERVE_MMAP_SIZE;
int xflags = 0;
if (total < reserved
@ -557,7 +588,7 @@
-1, 0)) != MAP_FAILED))
xflags = MAP_FIXED;
else
@@ -241,9 +241,9 @@ oldlocrecentcmp (const void *a, const vo
@@ -241,9 +241,9 @@ oldlocrecentcmp (const void *a, const void *b)
/* forward decls for below */
static uint32_t add_locale (struct locarhandle *ah, const char *name,
locale_data_t data, bool replace);
@ -570,7 +601,7 @@
static bool
@@ -396,7 +396,7 @@ enlarge_archive (struct locarhandle *ah,
@@ -396,7 +396,7 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
size_t reserved = RESERVE_MMAP_SIZE;
int xflags = 0;
if (total < reserved
@ -579,7 +610,7 @@
-1, 0)) != MAP_FAILED))
xflags = MAP_FIXED;
else
@@ -614,7 +614,7 @@ open_archive (struct locarhandle *ah, bo
@@ -614,7 +614,7 @@ open_archive (struct locarhandle *ah, bool readonly)
int xflags = 0;
void *p;
if (st.st_size < reserved
@ -606,9 +637,9 @@
add_alias (struct locarhandle *ah, const char *alias, bool replace,
const char *oldname, uint32_t *locrec_offset_p)
{
--- glibc-2.12-2-gc4ccff1/localedata/Makefile
+++ glibc-2.12-1/localedata/Makefile
@@ -227,6 +227,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo
--- glibc-2.12-22-g6f8d0c6/localedata/Makefile
+++ glibc-2.12-2/localedata/Makefile
@@ -227,6 +227,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-locales-dir
echo -n '...'; \
input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \
$(LOCALEDEF) --alias-file=../intl/locale.alias \
@ -616,8 +647,8 @@
-i locales/$$input -c -f charmaps/$$charset \
$(addprefix --prefix=,$(install_root)) $$locale; \
echo ' done'; \
--- glibc-2.12-2-gc4ccff1/localedata/SUPPORTED
+++ glibc-2.12-1/localedata/SUPPORTED
--- glibc-2.12-22-g6f8d0c6/localedata/SUPPORTED
+++ glibc-2.12-2/localedata/SUPPORTED
@@ -85,6 +85,7 @@ cy_GB.UTF-8/UTF-8 \
cy_GB/ISO-8859-14 \
da_DK.UTF-8/UTF-8 \
@ -659,9 +690,9 @@
ta_IN/UTF-8 \
te_IN/UTF-8 \
tg_TJ.UTF-8/UTF-8 \
--- glibc-2.12-2-gc4ccff1/localedata/locales/cy_GB
+++ glibc-2.12-1/localedata/locales/cy_GB
@@ -248,8 +248,11 @@ mon "<U0049><U006F><U006E><U0061
--- glibc-2.12-22-g6f8d0c6/localedata/locales/cy_GB
+++ glibc-2.12-2/localedata/locales/cy_GB
@@ -248,8 +248,11 @@ mon "<U0049><U006F><U006E><U0061><U0077><U0072>";/
d_t_fmt "<U0044><U0079><U0064><U0064><U0020><U0025><U0041><U0020><U0025><U0064><U0020><U006d><U0069><U0073><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
d_fmt "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0079>"
t_fmt "<U0025><U0054>"
@ -675,9 +706,9 @@
END LC_TIME
LC_MESSAGES
--- glibc-2.12-2-gc4ccff1/localedata/locales/en_GB
+++ glibc-2.12-1/localedata/locales/en_GB
@@ -116,8 +116,8 @@ mon "<U004A><U0061><U006E><U0075
--- glibc-2.12-22-g6f8d0c6/localedata/locales/en_GB
+++ glibc-2.12-2/localedata/locales/en_GB
@@ -116,8 +116,8 @@ mon "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
t_fmt "<U0025><U0054>"
@ -688,8 +719,8 @@
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
--- glibc-2.12-2-gc4ccff1/localedata/locales/no_NO
+++ glibc-2.12-1/localedata/locales/no_NO
--- glibc-2.12-22-g6f8d0c6/localedata/locales/no_NO
+++ glibc-2.12-2/localedata/locales/no_NO
@@ -0,0 +1,69 @@
+escape_char /
+comment_char %
@ -760,8 +791,8 @@
+LC_ADDRESS
+copy "nb_NO"
+END LC_ADDRESS
--- glibc-2.12-2-gc4ccff1/localedata/locales/zh_TW
+++ glibc-2.12-1/localedata/locales/zh_TW
--- glibc-2.12-22-g6f8d0c6/localedata/locales/zh_TW
+++ glibc-2.12-2/localedata/locales/zh_TW
@@ -1,7 +1,7 @@
comment_char %
escape_char /
@ -789,8 +820,8 @@
revision "0.2"
date "2000-08-02"
%
--- glibc-2.12-2-gc4ccff1/malloc/mcheck.c
+++ glibc-2.12-1/malloc/mcheck.c
--- glibc-2.12-22-g6f8d0c6/malloc/mcheck.c
+++ glibc-2.12-2/malloc/mcheck.c
@@ -24,9 +24,25 @@
# include <mcheck.h>
# include <stdint.h>
@ -817,7 +848,7 @@
/* Old hook values. */
static void (*old_free_hook) (__ptr_t ptr, __const __ptr_t);
static __ptr_t (*old_malloc_hook) (__malloc_size_t size, const __ptr_t);
@@ -197,7 +213,7 @@ freehook (__ptr_t ptr, const __ptr_t cal
@@ -197,7 +213,7 @@ freehook (__ptr_t ptr, const __ptr_t caller)
if (old_free_hook != NULL)
(*old_free_hook) (ptr, caller);
else
@ -826,7 +857,7 @@
__free_hook = freehook;
}
@@ -214,7 +230,7 @@ mallochook (__malloc_size_t size, const
@@ -214,7 +230,7 @@ mallochook (__malloc_size_t size, const __ptr_t caller)
hdr = (struct hdr *) (*old_malloc_hook) (sizeof (struct hdr) + size + 1,
caller);
else
@ -835,7 +866,7 @@
__malloc_hook = mallochook;
if (hdr == NULL)
return NULL;
@@ -245,7 +261,7 @@ memalignhook (__malloc_size_t alignment,
@@ -245,7 +261,7 @@ memalignhook (__malloc_size_t alignment, __malloc_size_t size,
if (old_memalign_hook != NULL)
block = (*old_memalign_hook) (alignment, slop + size + 1, caller);
else
@ -844,7 +875,7 @@
__memalign_hook = memalignhook;
if (block == NULL)
return NULL;
@@ -300,8 +316,8 @@ reallochook (__ptr_t ptr, __malloc_size_
@@ -300,8 +316,8 @@ reallochook (__ptr_t ptr, __malloc_size_t size, const __ptr_t caller)
sizeof (struct hdr) + size + 1,
caller);
else
@ -866,8 +897,8 @@
old_free_hook = __free_hook;
__free_hook = freehook;
--- glibc-2.12-2-gc4ccff1/manual/libc.texinfo
+++ glibc-2.12-1/manual/libc.texinfo
--- glibc-2.12-22-g6f8d0c6/manual/libc.texinfo
+++ glibc-2.12-2/manual/libc.texinfo
@@ -5,7 +5,7 @@
@c setchapternewpage odd
@ -877,8 +908,8 @@
@direntry
* Libc: (libc). C library.
@end direntry
--- glibc-2.12-2-gc4ccff1/misc/sys/cdefs.h
+++ glibc-2.12-1/misc/sys/cdefs.h
--- glibc-2.12-22-g6f8d0c6/misc/sys/cdefs.h
+++ glibc-2.12-2/misc/sys/cdefs.h
@@ -132,7 +132,10 @@
#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
#define __bos0(ptr) __builtin_object_size (ptr, 0)
@ -922,8 +953,8 @@
# define __va_arg_pack() __builtin_va_arg_pack ()
# define __va_arg_pack_len() __builtin_va_arg_pack_len ()
#endif
--- glibc-2.12-2-gc4ccff1/nis/nss
+++ glibc-2.12-1/nis/nss
--- glibc-2.12-22-g6f8d0c6/nis/nss
+++ glibc-2.12-2/nis/nss
@@ -25,7 +25,7 @@
# memory with every getXXent() call. Otherwise each getXXent() call
# might result into a network communication with the server to get
@ -933,9 +964,18 @@
#
# ADJUNCT_AS_SHADOW
# If set to TRUE, the passwd routines in the NIS NSS module will not
--- glibc-2.12-2-gc4ccff1/nptl/ChangeLog
+++ glibc-2.12-1/nptl/ChangeLog
@@ -3884,6 +3884,15 @@
--- glibc-2.12-22-g6f8d0c6/nptl/ChangeLog
+++ glibc-2.12-2/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-27 Andreas Schwab <schwab@redhat.com>
+
+ * Makefile ($(objpfx)tst-_res1): Depend on
+ $(objpfx)tst-_res1mod1.so.
+
2010-04-09 Ulrich Drepper <drepper@redhat.com>
[BZ #11390]
@@ -3884,6 +3889,15 @@
Use __sigfillset. Document that sigfillset does the right thing wrt
to SIGSETXID.
@ -951,7 +991,7 @@
2005-07-11 Jakub Jelinek <jakub@redhat.com>
[BZ #1102]
@@ -4620,6 +4629,11 @@
@@ -4620,6 +4634,11 @@
Move definition inside libpthread, libc, librt check. Provide
definition for rtld.
@ -963,7 +1003,7 @@
2004-09-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
@@ -6694,6 +6708,11 @@
@@ -6694,6 +6713,11 @@
* Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules).
@ -975,8 +1015,8 @@
2003-07-25 Jakub Jelinek <jakub@redhat.com>
* tst-cancel17.c (do_test): Check if aio_cancel failed.
--- glibc-2.12-2-gc4ccff1/nptl/Makefile
+++ glibc-2.12-1/nptl/Makefile
--- glibc-2.12-22-g6f8d0c6/nptl/Makefile
+++ glibc-2.12-2/nptl/Makefile
@@ -341,7 +341,8 @@ endif
extra-objs += $(crti-objs) $(crtn-objs)
omit-deps += crti crtn
@ -987,6 +1027,15 @@
endif
CFLAGS-flockfile.c = -D_IO_MTSAFE_IO
@@ -491,7 +492,7 @@ $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.so
$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
LDFLAGS-tst-_res1mod1.so = -Wl,-soname,tst-_res1mod1.so
LDFLAGS-tst-_res1mod2.so = -Wl,-soname,tst-_res1mod2.so
-$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(shared-thread-library)
+$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(objpfx)tst-_res1mod1.so $(shared-thread-library)
else
$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
$(objpfx)tst-cond19: $(common-objpfx)rt/librt.a
@@ -527,15 +528,19 @@ $(addprefix $(objpfx), \
$(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \
$(objpfx)libpthread_nonshared.a
@ -1009,8 +1058,8 @@
else
$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a
endif
--- glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ glibc-2.12-1/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
--- glibc-2.12-22-g6f8d0c6/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ glibc-2.12-2/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -189,4 +189,7 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1
@ -1019,8 +1068,8 @@
+#define _XOPEN_STREAMS -1
+
#endif /* bits/posix_opt.h */
--- glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/kernel-features.h
+++ glibc-2.12-1/nptl/sysdeps/unix/sysv/linux/kernel-features.h
--- glibc-2.12-22-g6f8d0c6/nptl/sysdeps/unix/sysv/linux/kernel-features.h
+++ glibc-2.12-2/nptl/sysdeps/unix/sysv/linux/kernel-features.h
@@ -0,0 +1,6 @@
+#include_next <kernel-features.h>
+
@ -1028,8 +1077,8 @@
+#ifndef __ASSUME_CLONE_THREAD_FLAGS
+# define __ASSUME_CLONE_THREAD_FLAGS 1
+#endif
--- glibc-2.12-2-gc4ccff1/nptl/tst-stackguard1.c
+++ glibc-2.12-1/nptl/tst-stackguard1.c
--- glibc-2.12-22-g6f8d0c6/nptl/tst-stackguard1.c
+++ glibc-2.12-2/nptl/tst-stackguard1.c
@@ -190,17 +190,21 @@ do_test (void)
the 16 runs, something is very wrong. */
int ndifferences = 0;
@ -1054,8 +1103,8 @@
{
puts ("stack guard canaries are not randomized enough");
puts ("nor equal to the default canary value");
--- glibc-2.12-2-gc4ccff1/nscd/nscd.conf
+++ glibc-2.12-1/nscd/nscd.conf
--- glibc-2.12-22-g6f8d0c6/nscd/nscd.conf
+++ glibc-2.12-2/nscd/nscd.conf
@@ -33,7 +33,7 @@
# logfile /var/log/nscd.log
# threads 4
@ -1065,8 +1114,8 @@
# stat-user somebody
debug-level 0
# reload-count 5
--- glibc-2.12-2-gc4ccff1/nscd/nscd.init
+++ glibc-2.12-1/nscd/nscd.init
--- glibc-2.12-22-g6f8d0c6/nscd/nscd.init
+++ glibc-2.12-2/nscd/nscd.init
@@ -9,6 +9,7 @@
# slow naming services like NIS, NIS+, LDAP, or hesiod.
# processname: /usr/sbin/nscd
@ -1107,7 +1156,7 @@
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd
@@ -83,7 +72,7 @@ restart() {
@@ -83,11 +72,11 @@ restart() {
# See how we were called.
case "$1" in
start)
@ -1116,6 +1165,11 @@
RETVAL=$?
;;
stop)
- stop
+ [ ! -e /var/lock/subsys/nscd ] || stop
RETVAL=$?
;;
status)
@@ -99,14 +88,17 @@ case "$1" in
RETVAL=$?
;;
@ -1138,9 +1192,9 @@
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
--- glibc-2.12-2-gc4ccff1/posix/Makefile
+++ glibc-2.12-1/posix/Makefile
@@ -305,15 +305,8 @@ $(inst_libexecdir)/getconf: $(inst_bindi
--- glibc-2.12-22-g6f8d0c6/posix/Makefile
+++ glibc-2.12-2/posix/Makefile
@@ -305,15 +305,8 @@ $(inst_libexecdir)/getconf: $(inst_bindir)/getconf \
mv -f $@/$$spec.new $@/$$spec; \
done < $(objpfx)getconf.speclist
@ -1160,8 +1214,8 @@
+ | sed -n -e '/START_OF_STRINGS/,$${/\(POSIX_V[67]\|_XBS5\)_/{s/^[^"]*"//;s/".*$$//;p}}' \
+ > $@.new
mv -f $@.new $@
--- glibc-2.12-2-gc4ccff1/posix/gai.conf
+++ glibc-2.12-1/posix/gai.conf
--- glibc-2.12-22-g6f8d0c6/posix/gai.conf
+++ glibc-2.12-2/posix/gai.conf
@@ -41,7 +41,7 @@
#
# precedence <mask> <value>
@ -1186,8 +1240,8 @@
#scopev4 ::ffff:0.0.0.0/96 14
+#
+# This is what the Red Hat setting currently uses.
--- glibc-2.12-2-gc4ccff1/posix/getconf.speclist.h
+++ glibc-2.12-1/posix/getconf.speclist.h
--- glibc-2.12-22-g6f8d0c6/posix/getconf.speclist.h
+++ glibc-2.12-2/posix/getconf.speclist.h
@@ -0,0 +1,39 @@
+#include <unistd.h>
+const char *START_OF_STRINGS =
@ -1228,8 +1282,8 @@
+"XBS5_LPBIG_OFFBIG"
+#endif
+"";
--- glibc-2.12-2-gc4ccff1/streams/Makefile
+++ glibc-2.12-1/streams/Makefile
--- glibc-2.12-22-g6f8d0c6/streams/Makefile
+++ glibc-2.12-2/streams/Makefile
@@ -21,7 +21,7 @@
#
subdir := streams
@ -1239,8 +1293,8 @@
routines = isastream getmsg getpmsg putmsg putpmsg fattach fdetach
include ../Rules
--- glibc-2.12-2-gc4ccff1/sysdeps/generic/dl-cache.h
+++ glibc-2.12-1/sysdeps/generic/dl-cache.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/generic/dl-cache.h
+++ glibc-2.12-2/sysdeps/generic/dl-cache.h
@@ -36,6 +36,14 @@
# define add_system_dir(dir) add_dir (dir)
#endif
@ -1256,8 +1310,8 @@
#define CACHEMAGIC "ld.so-1.7.0"
/* libc5 and glibc 2.0/2.1 use the same format. For glibc 2.2 another
--- glibc-2.12-2-gc4ccff1/sysdeps/i386/Makefile
+++ glibc-2.12-1/sysdeps/i386/Makefile
--- glibc-2.12-22-g6f8d0c6/sysdeps/i386/Makefile
+++ glibc-2.12-2/sysdeps/i386/Makefile
@@ -2,6 +2,8 @@
# Every i386 port in use uses gas syntax (I think).
asm-CPPFLAGS += -DGAS_SYNTAX
@ -1282,8 +1336,8 @@
endif
ifeq ($(subdir),elf)
--- glibc-2.12-2-gc4ccff1/sysdeps/ia64/Makefile
+++ glibc-2.12-1/sysdeps/ia64/Makefile
--- glibc-2.12-22-g6f8d0c6/sysdeps/ia64/Makefile
+++ glibc-2.12-2/sysdeps/ia64/Makefile
@@ -12,8 +12,8 @@ elide-routines.os += hp-timing
ifeq (yes,$(build-shared))
@ -1295,8 +1349,8 @@
endif
endif
--- glibc-2.12-2-gc4ccff1/sysdeps/ia64/ia64libgcc.S
+++ glibc-2.12-1/sysdeps/ia64/ia64libgcc.S
--- glibc-2.12-22-g6f8d0c6/sysdeps/ia64/ia64libgcc.S
+++ glibc-2.12-2/sysdeps/ia64/ia64libgcc.S
@@ -1,350 +0,0 @@
-/* From the Intel IA-64 Optimization Guide, choose the minimum latency
- alternative. */
@ -1648,8 +1702,8 @@
- .symver ___multi3, __multi3@GLIBC_2.2
-
-#endif
--- glibc-2.12-2-gc4ccff1/sysdeps/ia64/libgcc-compat.c
+++ glibc-2.12-1/sysdeps/ia64/libgcc-compat.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/ia64/libgcc-compat.c
+++ glibc-2.12-2/sysdeps/ia64/libgcc-compat.c
@@ -0,0 +1,84 @@
+/* pre-.hidden libgcc compatibility
+ Copyright (C) 2002 Free Software Foundation, Inc.
@ -1735,8 +1789,8 @@
+symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2);
+
+#endif
--- glibc-2.12-2-gc4ccff1/sysdeps/posix/getaddrinfo.c
+++ glibc-2.12-1/sysdeps/posix/getaddrinfo.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/posix/getaddrinfo.c
+++ glibc-2.12-2/sysdeps/posix/getaddrinfo.c
@@ -1099,10 +1099,12 @@ static const struct scopeentry
/* Link-local addresses: scope 2. */
{ { { 169, 254, 0, 0 } }, htonl_c (0xffff0000), 2 },
@ -1750,8 +1804,8 @@
/* Default: scope 14. */
{ { { 0, 0, 0, 0 } }, htonl_c (0x00000000), 14 }
};
--- glibc-2.12-2-gc4ccff1/sysdeps/powerpc/powerpc64/Makefile
+++ glibc-2.12-1/sysdeps/powerpc/powerpc64/Makefile
--- glibc-2.12-22-g6f8d0c6/sysdeps/powerpc/powerpc64/Makefile
+++ glibc-2.12-2/sysdeps/powerpc/powerpc64/Makefile
@@ -30,6 +30,7 @@ ifneq ($(elf),no)
# we use -fpic instead which is much better.
CFLAGS-initfini.s += -fpic -O1
@ -1760,8 +1814,8 @@
endif
ifeq ($(subdir),elf)
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/nice.c
+++ glibc-2.12-1/sysdeps/unix/nice.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/nice.c
+++ glibc-2.12-2/sysdeps/unix/nice.c
@@ -42,7 +42,12 @@ nice (int incr)
__set_errno (save);
}
@ -1776,8 +1830,8 @@
if (result == -1)
{
if (errno == EACCES)
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/check_pf.c
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/check_pf.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/check_pf.c
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/check_pf.c
@@ -27,13 +27,10 @@
#include <unistd.h>
#include <sys/socket.h>
@ -1793,8 +1847,8 @@
#ifndef IFA_F_HOMEADDRESS
# define IFA_F_HOMEADDRESS 0
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/dl-osinfo.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -17,10 +17,13 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
@ -1809,7 +1863,7 @@
#ifndef MIN
# define MIN(a,b) (((a)<(b))?(a):(b))
@@ -80,6 +83,32 @@ _dl_setup_stack_chk_guard (void *dl_rand
@@ -80,6 +83,32 @@ _dl_setup_stack_chk_guard (void *dl_random)
unsigned char *p = (unsigned char *) &ret;
p[sizeof (ret) - 1] = 255;
p[sizeof (ret) - 2] = '\n';
@ -1842,8 +1896,8 @@
}
else
#endif
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/futimesat.c
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/futimesat.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/futimesat.c
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/futimesat.c
@@ -37,14 +37,14 @@ futimesat (fd, file, tvp)
{
int result;
@ -1886,8 +1940,8 @@
{
size_t filelen = strlen (file);
if (__builtin_expect (filelen == 0, 0))
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/i386/dl-cache.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/i386/dl-cache.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/i386/dl-cache.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/i386/dl-cache.h
@@ -0,0 +1,59 @@
+/* Support for reading /etc/ld.so.cache files written by Linux ldconfig.
+ Copyright (C) 2004 Free Software Foundation, Inc.
@ -1948,8 +2002,8 @@
+ } while (0)
+
+#include_next <dl-cache.h>
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/ia64/dl-cache.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/ia64/dl-cache.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/ia64/dl-cache.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/ia64/dl-cache.h
@@ -22,4 +22,31 @@
#define _dl_cache_check_flags(flags) \
((flags) == _DL_CACHE_DEFAULT_ID)
@ -1982,29 +2036,29 @@
+ } while (0)
+
#include_next <dl-cache.h>
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c
@@ -0,0 +1,5 @@
+#ifdef IS_IN_ldconfig
+#include <sysdeps/i386/dl-procinfo.c>
+#else
+#include <sysdeps/generic/dl-procinfo.c>
+#endif
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h
@@ -0,0 +1,5 @@
+#ifdef IS_IN_ldconfig
+#include <sysdeps/unix/sysv/linux/i386/dl-procinfo.h>
+#else
+#include <sysdeps/generic/dl-procinfo.h>
+#endif
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
@@ -1 +1 @@
-s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 \2\3"_
+s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 /emul/ia32-linux\2\3"_
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/netlinkaccess.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/netlinkaccess.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/netlinkaccess.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/netlinkaccess.h
@@ -25,6 +25,24 @@
#include <kernel-features.h>
@ -2030,8 +2084,8 @@
struct netlink_res
{
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/paths.h
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/paths.h
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/paths.h
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/paths.h
@@ -62,7 +62,7 @@
#define _PATH_TTY "/dev/tty"
#define _PATH_UNIX "/boot/vmlinux"
@ -2041,14 +2095,14 @@
#define _PATH_WTMP "/var/log/wtmp"
/* Provide trailing slash, since mostly used for building pathnames. */
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
@@ -1 +1 @@
-#include "../../fxstat.c"
+#include "../../i386/fxstat.c"
--- glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/tcsetattr.c
+++ glibc-2.12-1/sysdeps/unix/sysv/linux/tcsetattr.c
@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios
--- glibc-2.12-22-g6f8d0c6/sysdeps/unix/sysv/linux/tcsetattr.c
+++ glibc-2.12-2/sysdeps/unix/sysv/linux/tcsetattr.c
@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios_p)
{
struct __kernel_termios k_termios;
unsigned long int cmd;
@ -2056,7 +2110,7 @@
switch (optional_actions)
{
@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios
@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios_p)
memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
__KERNEL_NCCS * sizeof (cc_t));
@ -2093,8 +2147,8 @@
+ return retval;
}
libc_hidden_def (tcsetattr)
--- glibc-2.12-2-gc4ccff1/timezone/zic.c
+++ glibc-2.12-1/timezone/zic.c
--- glibc-2.12-22-g6f8d0c6/timezone/zic.c
+++ glibc-2.12-2/timezone/zic.c
@@ -1921,7 +1921,7 @@ const int zonecount;
if (stdrp != NULL && stdrp->r_hiyear == 2037)
return;

View File

@ -1,4 +1,4 @@
%define glibcsrcdir glibc-2.12-2-gc4ccff1
%define glibcsrcdir glibc-2.12-22-g6f8d0c6
%define glibcversion 2.12
### glibc.spec.in follows:
%define run_glibc_tests 1
@ -23,7 +23,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
Release: 1
Release: 2
# 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
@ -176,7 +176,7 @@ libraries, as well as national language (locale) support.
Summary: A Name Service Caching Daemon (nscd).
Group: System Environment/Daemons
Requires: libselinux >= 1.17.10-1, audit-libs >= 1.1.3
Requires(pre): /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
Requires(pre): /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, coreutils
%description -n nscd
Nscd caches name service lookups and can dramatically improve
@ -585,7 +585,7 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
! -path "*/lib/debug/*" -printf "/%%P\n" \)
find $RPM_BUILD_ROOT -type d \
\( -path '*%{_prefix}/share/*' ! -path '*%{_infodir}' -o \
-path "*%{_prefix}/include/*" -o \
-path "*%{_prefix}/include/*" \
\) -printf "%%%%dir /%%P\n"
} | {
@ -897,8 +897,10 @@ fi
%postun utils -p /sbin/ldconfig
%pre -n nscd
/usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
-c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
getent passwd nscd >/dev/null ||
/usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
-c "NSCD Daemon" -u 28 -g nscd nscd
%post -n nscd
/sbin/chkconfig --add nscd
@ -1029,6 +1031,22 @@ rm -f *.filelist*
%endif
%changelog
* Tue Jun 1 2010 Andreas Schwab <schwab@redhat.com> - 2.12-2
- Update from 2.12 branch
- Correct x86 CPU family and model check (BZ#11640, #596554)
- Don't crash on unresolved weak symbol reference
- Implement recvmmsg also as socketcall
- sunrpc: Fix spurious fall-through
- Make <sys/timex.h> compatible with C++ (#593762)
- Enable IDN support in getent
- Fix race in free sanity check (#594784)
- Fix lookup of collation sequence value during regexp matching
- Fix name of tt_RU.UTF-8@iqtelif locale (#589138)
- Handle too-small buffers in Linux getlogin_r (BZ#11571, #589946)
- Fix users and groups creation in nscd %%post script
- Require coreutils instead of sh-utils
- Fix typo causing missing directory ownership
* Tue May 4 2010 Roland McGrath <roland@redhat.com> - 2.12-1
- Update to 2.12 release.
- Fix ldconfig chroot handling.

View File

@ -53,3 +53,4 @@ glibc-2_11_90-18:F-13:glibc-2.11.90-18.src.rpm:1271075557
glibc-2_11_90-19:F-13:glibc-2.11.90-19.src.rpm:1271163610
glibc-2_11_90-20:F-13:glibc-2.11.90-20.src.rpm:1271415479
glibc-2_12-1:F-13:glibc-2.12-1.src.rpm:1273001446
glibc-2_12-2:F-13:glibc-2.12-2.src.rpm:1275412737

View File

@ -1,2 +1,2 @@
35d8302837a2b39c37e5277f9c5c07d9 glibc-2.12-2-gc4ccff1-fedora.tar.bz2
450958ad3d3b5a432b356376904c96b0 glibc-2.12-2-gc4ccff1.tar.bz2
b1375b88241b09a30254ba27a8108717 glibc-2.12-22-g6f8d0c6-fedora.tar.bz2
bac0e30df68c81c76f1ab428da18e2bc glibc-2.12-22-g6f8d0c6.tar.bz2