This commit is contained in:
Jakub Jelinek 2007-08-01 17:58:02 +00:00
parent 2094360524
commit 3d434a7b8d
10 changed files with 1266 additions and 8599 deletions

View File

@ -1,2 +1,2 @@
glibc-20070731T1624.tar.bz2
glibc-fedora-20070731T1624.tar.bz2
glibc-20070801T1703.tar.bz2
glibc-fedora-20070801T1703.tar.bz2

View File

@ -1,155 +0,0 @@
2007-08-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate
syscall as __fallocate64.
* sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file.
* sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file.
2007-07-31 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
syscall arguments count.
--- libc/sysdeps/unix/sysv/linux/posix_fallocate.c.jj 2007-07-31 21:19:06.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/posix_fallocate.c 2007-07-31 21:19:06.000000000 +0200
@@ -39,7 +39,7 @@ posix_fallocate (int fd, __off_t offset,
# endif
{
INTERNAL_SYSCALL_DECL (err);
- int res = INTERNAL_SYSCALL (fallocate, err, 4, fd, 0,
+ int res = INTERNAL_SYSCALL (fallocate, err, 6, fd, 0,
__LONG_LONG_PAIR (offset >> 31, offset),
__LONG_LONG_PAIR (len >> 31, len));
--- libc/sysdeps/unix/sysv/linux/i386/syscalls.list.jj 2005-12-20 08:52:13.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/i386/syscalls.list 2007-08-01 11:33:03.000000000 +0200
@@ -6,3 +6,4 @@ vm86 - vm86 i:ip __vm86 vm86@@GLIBC_2
oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0
oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@GLIBC_2.0
waitpid - waitpid Ci:ipi __waitpid waitpid __libc_waitpid
+fallocate64 EXTRA fallocate Vi:iiiiii __fallocate64
--- libc/sysdeps/unix/sysv/linux/i386/posix_fallocate.c.jj 2007-08-01 11:14:15.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/i386/posix_fallocate.c 2007-08-01 11:34:04.000000000 +0200
@@ -0,0 +1,58 @@
+/* Copyright (C) 2007 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, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <fcntl.h>
+#include <kernel-features.h>
+#include <sysdep.h>
+
+#define posix_fallocate static internal_fallocate
+#include <sysdeps/posix/posix_fallocate.c>
+#undef posix_fallocate
+
+#if !defined __ASSUME_FALLOCATE && defined __NR_fallocate
+int __have_fallocate attribute_hidden;
+#endif
+
+extern int __fallocate64 (int fd, int mode, __off64_t offset, __off64_t len)
+ attribute_hidden;
+
+/* Reserve storage for the data of the file associated with FD. */
+int
+posix_fallocate (int fd, __off_t offset, __off_t len)
+{
+#ifdef __NR_fallocate
+# ifndef __ASSUME_FALLOCATE
+ if (__builtin_expect (__have_fallocate >= 0, 1))
+# endif
+ {
+ int res = __fallocate64 (fd, 0, offset, len);
+ if (! res)
+ return 0;
+
+# ifndef __ASSUME_FALLOCATE
+ if (__builtin_expect (res == ENOSYS, 0))
+ __have_fallocate = -1;
+ else
+# endif
+ if (res != EOPNOTSUPP)
+ return res;
+ }
+#endif
+
+ return internal_fallocate (fd, offset, len);
+}
--- libc/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c.jj 2007-08-01 11:14:18.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/i386/posix_fallocate64.c 2007-08-01 11:34:22.000000000 +0200
@@ -0,0 +1,61 @@
+/* Copyright (C) 2007 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, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <fcntl.h>
+#include <kernel-features.h>
+#include <sysdep.h>
+
+extern int __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len);
+#define __posix_fallocate64_l64 static internal_fallocate64
+#include <sysdeps/posix/posix_fallocate64.c>
+#undef __posix_fallocate64_l64
+
+#if !defined __ASSUME_FALLOCATE && defined __NR_fallocate
+/* Defined in posix_fallocate.c. */
+extern int __have_fallocate attribute_hidden;
+#endif
+
+extern int __fallocate64 (int fd, int mode, __off64_t offset, __off64_t len)
+ attribute_hidden;
+
+/* Reserve storage for the data of the file associated with FD. */
+int
+__posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
+{
+#ifdef __NR_fallocate
+# ifndef __ASSUME_FALLOCATE
+ if (__builtin_expect (__have_fallocate >= 0, 1))
+# endif
+ {
+ int res = __fallocate64 (fd, 0, offset, len);
+
+ if (! res)
+ return 0;
+
+# ifndef __ASSUME_FALLOCATE
+ if (__builtin_expect (res == ENOSYS, 0))
+ __have_fallocate = -1;
+ else
+# endif
+ if (res != EOPNOTSUPP)
+ return res;
+ }
+#endif
+
+ return internal_fallocate64 (fd, offset, len);
+}

View File

@ -1,6 +1,6 @@
--- glibc-20070731T1624/ChangeLog 31 Jul 2007 12:33:25 -0000 1.10737
+++ glibc-20070731T1624-fedora/ChangeLog 31 Jul 2007 17:45:45 -0000 1.8782.2.260
@@ -1235,6 +1235,13 @@
--- glibc-20070801T1703/ChangeLog 1 Aug 2007 15:51:07 -0000 1.10742
+++ glibc-20070801T1703-fedora/ChangeLog 1 Aug 2007 17:16:37 -0000 1.8782.2.261
@@ -1268,6 +1268,13 @@
* include/sys/cdefs.h: Redefine __nonnull so that test for
incorrect parameters in the libc code itself are not omitted.
@ -14,7 +14,7 @@
2007-05-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
@@ -1530,6 +1537,10 @@
@@ -1563,6 +1570,10 @@
[BZ #4368]
* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
@ -25,7 +25,7 @@
2007-04-16 Ulrich Drepper <drepper@redhat.com>
[BZ #4364]
@@ -2787,6 +2798,15 @@
@@ -2820,6 +2831,15 @@
separators also if no non-zero digits found.
* stdlib/Makefile (tests): Add tst-strtod3.
@ -41,8 +41,8 @@
2006-12-09 Ulrich Drepper <drepper@redhat.com>
[BZ #3632]
--- glibc-20070731T1624/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1
+++ glibc-20070731T1624-fedora/ChangeLog.15 19 Dec 2006 19:05:40 -0000 1.1.6.3
--- glibc-20070801T1703/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1
+++ glibc-20070801T1703-fedora/ChangeLog.15 19 Dec 2006 19:05:40 -0000 1.1.6.3
@@ -477,6 +477,14 @@
2004-11-26 Jakub Jelinek <jakub@redhat.com>
@ -108,8 +108,8 @@
2004-08-30 Roland McGrath <roland@frob.com>
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
--- glibc-20070731T1624/ChangeLog.16 4 May 2006 16:05:24 -0000 1.1
+++ glibc-20070731T1624-fedora/ChangeLog.16 5 May 2006 06:11:52 -0000 1.1.2.1
--- glibc-20070801T1703/ChangeLog.16 4 May 2006 16:05:24 -0000 1.1
+++ glibc-20070801T1703-fedora/ChangeLog.16 5 May 2006 06:11:52 -0000 1.1.2.1
@@ -171,6 +171,11 @@
[BZ #2611]
* stdio-common/renameat.c (renameat): Fix typo.
@ -281,8 +281,8 @@
2005-02-10 Roland McGrath <roland@redhat.com>
[BZ #157]
--- glibc-20070731T1624/csu/Makefile 1 Mar 2006 10:35:47 -0000 1.79
+++ glibc-20070731T1624-fedora/csu/Makefile 30 Nov 2006 17:07:37 -0000 1.74.2.6
--- glibc-20070801T1703/csu/Makefile 1 Mar 2006 10:35:47 -0000 1.79
+++ glibc-20070801T1703-fedora/csu/Makefile 30 Nov 2006 17:07:37 -0000 1.74.2.6
@@ -93,7 +93,8 @@ omit-deps += $(crtstuff)
$(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
$(compile.S) -g0 $(ASFLAGS-.os) -o $@
@ -293,8 +293,8 @@
vpath initfini.c $(sysdirs)
--- glibc-20070731T1624/csu/elf-init.c 5 Nov 2005 17:41:38 -0000 1.8
+++ glibc-20070731T1624-fedora/csu/elf-init.c 15 Nov 2005 09:54:10 -0000 1.3.2.6
--- glibc-20070801T1703/csu/elf-init.c 5 Nov 2005 17:41:38 -0000 1.8
+++ glibc-20070801T1703-fedora/csu/elf-init.c 15 Nov 2005 09:54:10 -0000 1.3.2.6
@@ -49,6 +49,23 @@ extern void (*__init_array_end []) (int,
extern void (*__fini_array_start []) (void) attribute_hidden;
extern void (*__fini_array_end []) (void) attribute_hidden;
@ -319,8 +319,8 @@
/* These function symbols are provided for the .init/.fini section entry
points automagically by the linker. */
--- glibc-20070731T1624/debug/tst-chk1.c 24 Apr 2006 17:00:18 -0000 1.15
+++ glibc-20070731T1624-fedora/debug/tst-chk1.c 24 Apr 2006 20:31:49 -0000 1.1.2.16
--- glibc-20070801T1703/debug/tst-chk1.c 24 Apr 2006 17:00:18 -0000 1.15
+++ glibc-20070801T1703-fedora/debug/tst-chk1.c 24 Apr 2006 20:31:49 -0000 1.1.2.16
@@ -17,6 +17,9 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
@ -349,8 +349,8 @@
# define O 0
#else
# define O 1
--- glibc-20070731T1624/elf/ldconfig.c 16 Jul 2007 00:54:59 -0000 1.60
+++ glibc-20070731T1624-fedora/elf/ldconfig.c 31 Jul 2007 17:45:49 -0000 1.47.2.15
--- glibc-20070801T1703/elf/ldconfig.c 16 Jul 2007 00:54:59 -0000 1.60
+++ glibc-20070801T1703-fedora/elf/ldconfig.c 31 Jul 2007 17:45:49 -0000 1.47.2.15
@@ -966,17 +966,19 @@ search_dirs (void)
@ -432,8 +432,8 @@
}
search_dirs ();
--- glibc-20070731T1624/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1
+++ glibc-20070731T1624-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3
--- glibc-20070801T1703/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1
+++ glibc-20070801T1703-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3
@@ -160,17 +160,21 @@ do_test (void)
the 16 runs, something is very wrong. */
int ndifferences = 0;
@ -458,8 +458,8 @@
{
puts ("stack guard canaries are not randomized enough");
puts ("nor equal to the default canary value");
--- glibc-20070731T1624/include/features.h 19 Jul 2007 17:27:30 -0000 1.47
+++ glibc-20070731T1624-fedora/include/features.h 31 Jul 2007 17:45:50 -0000 1.35.2.16
--- glibc-20070801T1703/include/features.h 19 Jul 2007 17:27:30 -0000 1.47
+++ glibc-20070801T1703-fedora/include/features.h 31 Jul 2007 17:45:50 -0000 1.35.2.16
@@ -282,7 +282,13 @@
#endif
@ -475,16 +475,16 @@
# if _FORTIFY_SOURCE > 1
# define __USE_FORTIFY_LEVEL 2
# else
--- glibc-20070731T1624/include/bits/stdlib-ldbl.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/include/bits/stdlib-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1
--- glibc-20070801T1703/include/bits/stdlib-ldbl.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/include/bits/stdlib-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1
@@ -0,0 +1 @@
+#include <stdlib/bits/stdlib-ldbl.h>
--- glibc-20070731T1624/include/bits/wchar-ldbl.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/include/bits/wchar-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1
--- glibc-20070801T1703/include/bits/wchar-ldbl.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/include/bits/wchar-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1
@@ -0,0 +1 @@
+#include <wcsmbs/bits/wchar-ldbl.h>
--- glibc-20070731T1624/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23
+++ glibc-20070731T1624-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1
--- glibc-20070801T1703/intl/locale.alias 4 Dec 2003 07:57:47 -0000 1.23
+++ glibc-20070801T1703-fedora/intl/locale.alias 22 Sep 2004 21:20:53 -0000 1.23.2.1
@@ -58,8 +58,6 @@ korean ko_KR.eucKR
korean.euc ko_KR.eucKR
ko_KR ko_KR.eucKR
@ -494,8 +494,8 @@
norwegian nb_NO.ISO-8859-1
nynorsk nn_NO.ISO-8859-1
polish pl_PL.ISO-8859-2
--- glibc-20070731T1624/libio/stdio.h 17 Feb 2007 18:26:15 -0000 1.89
+++ glibc-20070731T1624-fedora/libio/stdio.h 21 Feb 2007 11:15:50 -0000 1.78.2.11
--- glibc-20070801T1703/libio/stdio.h 17 Feb 2007 18:26:15 -0000 1.89
+++ glibc-20070801T1703-fedora/libio/stdio.h 21 Feb 2007 11:15:50 -0000 1.78.2.11
@@ -145,10 +145,12 @@ typedef _G_fpos64_t fpos64_t;
extern struct _IO_FILE *stdin; /* Standard input stream. */
extern struct _IO_FILE *stdout; /* Standard output stream. */
@ -509,8 +509,8 @@
__BEGIN_NAMESPACE_STD
/* Remove file FILENAME. */
--- glibc-20070731T1624/libio/bits/stdio2.h 17 Mar 2007 17:04:08 -0000 1.5
+++ glibc-20070731T1624-fedora/libio/bits/stdio2.h 17 Mar 2007 21:52:49 -0000 1.1.2.7
--- glibc-20070801T1703/libio/bits/stdio2.h 17 Mar 2007 17:04:08 -0000 1.5
+++ glibc-20070801T1703-fedora/libio/bits/stdio2.h 17 Mar 2007 21:52:49 -0000 1.1.2.7
@@ -61,14 +61,25 @@ extern int __vfprintf_chk (FILE *__restr
extern int __vprintf_chk (int __flag, __const char *__restrict __format,
_G_va_list __ap);
@ -541,8 +541,8 @@
#endif
--- glibc-20070731T1624/locale/iso-4217.def 17 Feb 2007 07:46:20 -0000 1.20
+++ glibc-20070731T1624-fedora/locale/iso-4217.def 21 Feb 2007 11:15:50 -0000 1.15.2.5
--- glibc-20070801T1703/locale/iso-4217.def 17 Feb 2007 07:46:20 -0000 1.20
+++ glibc-20070801T1703-fedora/locale/iso-4217.def 21 Feb 2007 11:15:50 -0000 1.15.2.5
@@ -8,6 +8,7 @@
*
* !!! The list has to be sorted !!!
@ -634,8 +634,8 @@
DEFINE_INT_CURR("PYG") /* Paraguay Guarani */
DEFINE_INT_CURR("QAR") /* Qatar Rial */
DEFINE_INT_CURR("ROL") /* Romanian Leu */
--- glibc-20070731T1624/locale/programs/locarchive.c 16 Jul 2007 00:54:59 -0000 1.25
+++ glibc-20070731T1624-fedora/locale/programs/locarchive.c 31 Jul 2007 17:45:53 -0000 1.21.2.4
--- glibc-20070801T1703/locale/programs/locarchive.c 16 Jul 2007 00:54:59 -0000 1.25
+++ glibc-20070801T1703-fedora/locale/programs/locarchive.c 31 Jul 2007 17:45:53 -0000 1.21.2.4
@@ -222,9 +222,9 @@ oldlocrecentcmp (const void *a, const vo
/* forward decls for below */
static uint32_t add_locale (struct locarhandle *ah, const char *name,
@ -667,8 +667,8 @@
add_alias (struct locarhandle *ah, const char *alias, bool replace,
const char *oldname, uint32_t *locrec_offset_p)
{
--- glibc-20070731T1624/localedata/Makefile 10 Jul 2007 22:12:52 -0000 1.106
+++ glibc-20070731T1624-fedora/localedata/Makefile 31 Jul 2007 17:45:53 -0000 1.101.2.6
--- glibc-20070801T1703/localedata/Makefile 10 Jul 2007 22:12:52 -0000 1.106
+++ glibc-20070801T1703-fedora/localedata/Makefile 31 Jul 2007 17:45:53 -0000 1.101.2.6
@@ -223,6 +223,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo
echo -n '...'; \
input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \
@ -677,8 +677,8 @@
-i locales/$$input -c -f charmaps/$$charset \
$(addprefix --prefix=,$(install_root)) $$locale; \
echo ' done'; \
--- glibc-20070731T1624/localedata/SUPPORTED 4 May 2007 20:52:45 -0000 1.103
+++ glibc-20070731T1624-fedora/localedata/SUPPORTED 10 May 2007 06:44:26 -0000 1.71.2.17
--- glibc-20070801T1703/localedata/SUPPORTED 4 May 2007 20:52:45 -0000 1.103
+++ glibc-20070801T1703-fedora/localedata/SUPPORTED 10 May 2007 06:44:26 -0000 1.71.2.17
@@ -80,6 +80,7 @@ cy_GB.UTF-8/UTF-8 \
cy_GB/ISO-8859-14 \
da_DK.UTF-8/UTF-8 \
@ -720,8 +720,8 @@
ta_IN/UTF-8 \
te_IN/UTF-8 \
tg_TJ.UTF-8/UTF-8 \
--- glibc-20070731T1624/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4
+++ glibc-20070731T1624-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2
--- glibc-20070801T1703/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4
+++ glibc-20070801T1703-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2
@@ -248,8 +248,11 @@ mon "<U0049><U006F><U006E><U0061
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>"
@ -736,8 +736,8 @@
END LC_TIME
LC_MESSAGES
--- glibc-20070731T1624/localedata/locales/en_GB 1 Oct 2006 16:18:33 -0000 1.14
+++ glibc-20070731T1624-fedora/localedata/locales/en_GB 2 Oct 2006 19:02:41 -0000 1.10.2.4
--- glibc-20070801T1703/localedata/locales/en_GB 1 Oct 2006 16:18:33 -0000 1.14
+++ glibc-20070801T1703-fedora/localedata/locales/en_GB 2 Oct 2006 19:02:41 -0000 1.10.2.4
@@ -116,8 +116,8 @@ mon "<U004A><U0061><U006E><U0075
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>"
@ -749,8 +749,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-20070731T1624/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1
--- glibc-20070801T1703/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1
@@ -0,0 +1,69 @@
+escape_char /
+comment_char %
@ -821,8 +821,8 @@
+LC_ADDRESS
+copy "nb_NO"
+END LC_ADDRESS
--- glibc-20070731T1624/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7
+++ glibc-20070731T1624-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2
--- glibc-20070801T1703/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7
+++ glibc-20070801T1703-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2
@@ -1,7 +1,7 @@
comment_char %
escape_char /
@ -850,8 +850,8 @@
revision "0.2"
date "2000-08-02"
%
--- glibc-20070731T1624/malloc/mcheck.c 19 May 2007 04:27:20 -0000 1.20
+++ glibc-20070731T1624-fedora/malloc/mcheck.c 21 May 2007 20:01:08 -0000 1.18.2.2
--- glibc-20070801T1703/malloc/mcheck.c 19 May 2007 04:27:20 -0000 1.20
+++ glibc-20070801T1703-fedora/malloc/mcheck.c 21 May 2007 20:01:08 -0000 1.18.2.2
@@ -24,9 +24,25 @@
# include <mcheck.h>
# include <stdint.h>
@ -927,8 +927,8 @@
old_free_hook = __free_hook;
__free_hook = freehook;
--- glibc-20070731T1624/malloc/mtrace.c 25 Jan 2007 00:43:38 -0000 1.43
+++ glibc-20070731T1624-fedora/malloc/mtrace.c 20 Dec 2005 10:59:21 -0000 1.41.2.1
--- glibc-20070801T1703/malloc/mtrace.c 25 Jan 2007 00:43:38 -0000 1.43
+++ glibc-20070801T1703-fedora/malloc/mtrace.c 20 Dec 2005 10:59:21 -0000 1.41.2.1
@@ -40,6 +40,18 @@
# include <libio/iolibio.h>
# define setvbuf(s, b, f, l) INTUSE(_IO_setvbuf) (s, b, f, l)
@ -984,8 +984,8 @@
__memalign_hook = tr_memalignhook;
__malloc_hook = tr_mallochook;
--- glibc-20070731T1624/manual/libc.texinfo 31 Jul 2007 01:53:58 -0000 1.95
+++ glibc-20070731T1624-fedora/manual/libc.texinfo 31 Jul 2007 17:45:53 -0000 1.94.2.2
--- glibc-20070801T1703/manual/libc.texinfo 31 Jul 2007 01:53:58 -0000 1.95
+++ glibc-20070801T1703-fedora/manual/libc.texinfo 31 Jul 2007 17:45:53 -0000 1.94.2.2
@@ -5,7 +5,7 @@
@c setchapternewpage odd
@ -995,17 +995,17 @@
@direntry
* Libc: (libc). C library.
@end direntry
--- glibc-20070731T1624/nis/nss 28 Apr 2006 21:02:23 -0000 1.3
+++ glibc-20070731T1624-fedora/nis/nss 1 May 2006 08:02:53 -0000 1.2.2.2
--- glibc-20070801T1703/nis/nss 28 Apr 2006 21:02:23 -0000 1.3
+++ glibc-20070801T1703-fedora/nis/nss 1 May 2006 08:02:53 -0000 1.2.2.2
@@ -25,4 +25,4 @@
# memory with every getXXent() call. Otherwise each getXXent() call
# might result into a network communication with the server to get
# the next entry.
-#SETENT_BATCH_READ=TRUE
+SETENT_BATCH_READ=TRUE
--- glibc-20070731T1624/nptl/ChangeLog 28 Jul 2007 20:32:13 -0000 1.1011
+++ glibc-20070731T1624-fedora/nptl/ChangeLog 31 Jul 2007 17:45:54 -0000 1.706.2.131
@@ -2057,6 +2057,15 @@
--- glibc-20070801T1703/nptl/ChangeLog 1 Aug 2007 04:47:26 -0000 1.1015
+++ glibc-20070801T1703-fedora/nptl/ChangeLog 1 Aug 2007 17:16:38 -0000 1.706.2.132
@@ -2517,6 +2517,15 @@
Use __sigfillset. Document that sigfillset does the right thing wrt
to SIGSETXID.
@ -1021,7 +1021,7 @@
2005-07-11 Jakub Jelinek <jakub@redhat.com>
[BZ #1102]
@@ -2793,6 +2802,11 @@
@@ -3253,6 +3262,11 @@
Move definition inside libpthread, libc, librt check. Provide
definition for rtld.
@ -1033,7 +1033,7 @@
2004-09-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
@@ -4867,6 +4881,11 @@
@@ -5327,6 +5341,11 @@
* Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules).
@ -1045,8 +1045,8 @@
2003-07-25 Jakub Jelinek <jakub@redhat.com>
* tst-cancel17.c (do_test): Check if aio_cancel failed.
--- glibc-20070731T1624/nptl/Makefile 26 May 2007 01:30:09 -0000 1.190
+++ glibc-20070731T1624-fedora/nptl/Makefile 31 Jul 2007 17:45:54 -0000 1.157.2.32
--- glibc-20070801T1703/nptl/Makefile 26 May 2007 01:30:09 -0000 1.190
+++ glibc-20070801T1703-fedora/nptl/Makefile 31 Jul 2007 17:45:54 -0000 1.157.2.32
@@ -340,7 +340,8 @@ endif
extra-objs += $(crti-objs) $(crtn-objs)
omit-deps += crti crtn
@ -1079,8 +1079,8 @@
else
$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a
endif
--- glibc-20070731T1624/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1
+++ glibc-20070731T1624-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3
--- glibc-20070801T1703/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1
+++ glibc-20070801T1703-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3
@@ -190,17 +190,21 @@ do_test (void)
the 16 runs, something is very wrong. */
int ndifferences = 0;
@ -1105,8 +1105,8 @@
{
puts ("stack guard canaries are not randomized enough");
puts ("nor equal to the default canary value");
--- glibc-20070731T1624/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1
--- glibc-20070801T1703/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1
@@ -0,0 +1,6 @@
+#include_next <kernel-features.h>
+
@ -1114,8 +1114,8 @@
+#ifndef __ASSUME_CLONE_THREAD_FLAGS
+# define __ASSUME_CLONE_THREAD_FLAGS 1
+#endif
--- glibc-20070731T1624/nscd/connections.c 16 Jul 2007 00:54:58 -0000 1.99
+++ glibc-20070731T1624-fedora/nscd/connections.c 31 Jul 2007 17:45:59 -0000 1.55.2.30
--- glibc-20070801T1703/nscd/connections.c 16 Jul 2007 00:54:58 -0000 1.99
+++ glibc-20070801T1703-fedora/nscd/connections.c 31 Jul 2007 17:45:59 -0000 1.55.2.30
@@ -69,6 +69,7 @@ static gid_t *server_groups;
# define NGROUPS 32
#endif
@ -1181,8 +1181,8 @@
+{
+ sighup_pending = 1;
+}
--- glibc-20070731T1624/nscd/nscd.c 16 Jul 2007 00:54:58 -0000 1.58
+++ glibc-20070731T1624-fedora/nscd/nscd.c 31 Jul 2007 17:46:00 -0000 1.38.2.17
--- glibc-20070801T1703/nscd/nscd.c 16 Jul 2007 00:54:58 -0000 1.58
+++ glibc-20070801T1703-fedora/nscd/nscd.c 31 Jul 2007 17:46:00 -0000 1.38.2.17
@@ -120,6 +120,9 @@ static struct argp argp =
options, parse_opt, NULL, doc,
};
@ -1201,8 +1201,8 @@
signal (SIGPIPE, SIG_IGN);
/* Cleanup files created by a previous 'bind'. */
--- glibc-20070731T1624/nscd/nscd.conf 14 Jan 2007 05:24:04 -0000 1.14
+++ glibc-20070731T1624-fedora/nscd/nscd.conf 17 Jan 2007 10:42:40 -0000 1.8.2.6
--- glibc-20070801T1703/nscd/nscd.conf 14 Jan 2007 05:24:04 -0000 1.14
+++ glibc-20070801T1703-fedora/nscd/nscd.conf 17 Jan 2007 10:42:40 -0000 1.8.2.6
@@ -33,8 +33,8 @@
# logfile /var/log/nscd.log
# threads 6
@ -1214,8 +1214,8 @@
debug-level 0
# reload-count 5
paranoia no
--- glibc-20070731T1624/nscd/nscd.init 1 Dec 2006 20:12:45 -0000 1.10
+++ glibc-20070731T1624-fedora/nscd/nscd.init 5 Dec 2006 21:50:20 -0000 1.6.2.5
--- glibc-20070801T1703/nscd/nscd.init 1 Dec 2006 20:12:45 -0000 1.10
+++ glibc-20070801T1703-fedora/nscd/nscd.init 5 Dec 2006 21:50:20 -0000 1.6.2.5
@@ -9,6 +9,7 @@
# slow naming services like NIS, NIS+, LDAP, or hesiod.
# processname: /usr/sbin/nscd
@ -1256,8 +1256,8 @@
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd
--- glibc-20070731T1624/posix/Makefile 29 Jul 2007 22:24:34 -0000 1.199
+++ glibc-20070731T1624-fedora/posix/Makefile 31 Jul 2007 17:46:00 -0000 1.171.2.25
--- glibc-20070801T1703/posix/Makefile 29 Jul 2007 22:24:34 -0000 1.199
+++ glibc-20070801T1703-fedora/posix/Makefile 31 Jul 2007 17:46:00 -0000 1.171.2.25
@@ -110,7 +110,7 @@ generated := $(addprefix wordexp-test-re
tst-rxspencer-mem tst-rxspencer.mtrace tst-getconf.out \
tst-pcre-mem tst-pcre.mtrace tst-boost-mem tst-boost.mtrace \
@ -1290,8 +1290,8 @@
+ | sed -n -e '/START_OF_STRINGS/,$${/POSIX_V6_/{s/^[^"]*"//;s/".*$$//;p}}' \
+ > $@.new
+ mv -f $@.new $@
--- glibc-20070731T1624/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2
--- glibc-20070801T1703/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/posix/getconf.speclist.h 13 Dec 2004 23:32:37 -0000 1.1.2.2
@@ -0,0 +1,15 @@
+#include <unistd.h>
+const char *START_OF_STRINGS =
@ -1308,8 +1308,8 @@
+"POSIX_V6_LPBIG_OFFBIG"
+#endif
+"";
--- glibc-20070731T1624/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13
+++ glibc-20070731T1624-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1
--- glibc-20070801T1703/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13
+++ glibc-20070801T1703-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1
@@ -36,6 +36,14 @@
# define add_system_dir(dir) add_dir (dir)
#endif
@ -1325,8 +1325,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-20070731T1624/sysdeps/i386/Makefile 6 Mar 2005 00:18:16 -0000 1.20
+++ glibc-20070731T1624-fedora/sysdeps/i386/Makefile 30 Jun 2006 09:16:34 -0000 1.16.2.4
--- glibc-20070801T1703/sysdeps/i386/Makefile 6 Mar 2005 00:18:16 -0000 1.20
+++ glibc-20070801T1703-fedora/sysdeps/i386/Makefile 30 Jun 2006 09:16:34 -0000 1.16.2.4
@@ -64,4 +64,12 @@ endif
ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS)))
@ -1340,8 +1340,8 @@
+CPPFLAGS-.oS += -DNO_TLS_DIRECT_SEG_REFS
+CFLAGS-.oS += -mno-tls-direct-seg-refs
endif
--- glibc-20070731T1624/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10
+++ glibc-20070731T1624-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1
--- glibc-20070801T1703/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10
+++ glibc-20070801T1703-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1
@@ -12,8 +12,8 @@ elide-routines.os += hp-timing
ifeq (yes,$(build-shared))
@ -1353,8 +1353,8 @@
endif
endif
--- glibc-20070731T1624/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2
+++ glibc-20070731T1624-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1
--- glibc-20070801T1703/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2
+++ glibc-20070801T1703-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1
@@ -1,350 +0,0 @@
-/* From the Intel IA-64 Optimization Guide, choose the minimum latency
- alternative. */
@ -1706,8 +1706,8 @@
- .symver ___multi3, __multi3@GLIBC_2.2
-
-#endif
--- glibc-20070731T1624/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1
--- glibc-20070801T1703/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1
@@ -0,0 +1,84 @@
+/* pre-.hidden libgcc compatibility
+ Copyright (C) 2002 Free Software Foundation, Inc.
@ -1793,8 +1793,8 @@
+symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2);
+
+#endif
--- glibc-20070731T1624/sysdeps/powerpc/powerpc64/Makefile 2 Feb 2006 08:23:44 -0000 1.8
+++ glibc-20070731T1624-fedora/sysdeps/powerpc/powerpc64/Makefile 30 Nov 2006 17:07:38 -0000 1.4.2.5
--- glibc-20070801T1703/sysdeps/powerpc/powerpc64/Makefile 2 Feb 2006 08:23:44 -0000 1.8
+++ glibc-20070801T1703-fedora/sysdeps/powerpc/powerpc64/Makefile 30 Nov 2006 17:07:38 -0000 1.4.2.5
@@ -30,6 +30,7 @@ ifneq ($(elf),no)
# we use -fpic instead which is much better.
CFLAGS-initfini.s += -fpic -O1
@ -1803,8 +1803,8 @@
endif
ifeq ($(subdir),elf)
--- glibc-20070731T1624/sysdeps/unix/nice.c 15 Aug 2006 05:24:45 -0000 1.7
+++ glibc-20070731T1624-fedora/sysdeps/unix/nice.c 15 Aug 2006 05:53:50 -0000 1.6.2.2
--- glibc-20070801T1703/sysdeps/unix/nice.c 15 Aug 2006 05:24:45 -0000 1.7
+++ glibc-20070801T1703-fedora/sysdeps/unix/nice.c 15 Aug 2006 05:53:50 -0000 1.6.2.2
@@ -42,7 +42,12 @@ nice (int incr)
__set_errno (save);
}
@ -1819,8 +1819,8 @@
if (result == -1)
{
if (errno == EACCES)
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/check_pf.c 16 Jun 2007 16:54:40 -0000 1.11
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/check_pf.c 31 Jul 2007 17:46:12 -0000 1.3.2.8
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/check_pf.c 16 Jun 2007 16:54:40 -0000 1.11
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/check_pf.c 31 Jul 2007 17:46:12 -0000 1.3.2.8
@@ -27,13 +27,10 @@
#include <unistd.h>
#include <sys/socket.h>
@ -1836,8 +1836,8 @@
#ifndef IFA_F_TEMPORARY
# define IFA_F_TEMPORARY IFA_F_SECONDARY
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/dl-osinfo.h 1 Aug 2006 06:55:27 -0000 1.23
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 2 Aug 2006 16:57:42 -0000 1.14.2.9
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/dl-osinfo.h 1 Aug 2006 06:55:27 -0000 1.23
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 2 Aug 2006 16:57:42 -0000 1.14.2.9
@@ -18,11 +18,14 @@
02111-1307 USA. */
@ -1885,8 +1885,8 @@
+ ret ^= stk;
return ret;
}
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 05:26:34 -0000 1.6
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 09:43:55 -0000 1.1.2.7
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 05:26:34 -0000 1.6
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 09:43:55 -0000 1.1.2.7
@@ -37,14 +37,14 @@ futimesat (fd, file, tvp)
{
int result;
@ -1929,8 +1929,8 @@
{
size_t filelen = strlen (file);
static const char procfd[] = "/proc/self/fd/%d/%s";
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/netlinkaccess.h 8 Jan 2006 08:21:15 -0000 1.3
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/netlinkaccess.h 10 Dec 2006 10:51:12 -0000 1.1.2.3
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/netlinkaccess.h 8 Jan 2006 08:21:15 -0000 1.3
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/netlinkaccess.h 10 Dec 2006 10:51:12 -0000 1.1.2.3
@@ -25,6 +25,24 @@
#include <kernel-features.h>
@ -1956,8 +1956,8 @@
struct netlink_res
{
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/paths.h 15 Nov 2000 23:06:47 -0000 1.11
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/paths.h 22 Sep 2004 21:21:08 -0000 1.11.4.1
@@ -61,7 +61,7 @@
#define _PATH_TTY "/dev/tty"
#define _PATH_UNIX "/boot/vmlinux"
@ -1967,8 +1967,8 @@
#define _PATH_WTMP "/var/log/wtmp"
/* Provide trailing slash, since mostly used for building pathnames. */
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1
@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios
{
struct __kernel_termios k_termios;
@ -2014,8 +2014,8 @@
+ return retval;
}
libc_hidden_def (tcsetattr)
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/i386/clone.S 3 Dec 2006 23:12:36 -0000 1.27
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/i386/clone.S 14 Dec 2006 09:06:34 -0000 1.22.2.6
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/i386/clone.S 3 Dec 2006 23:12:36 -0000 1.27
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/i386/clone.S 14 Dec 2006 09:06:34 -0000 1.22.2.6
@@ -120,9 +120,6 @@ L(pseudo_end):
ret
@ -2034,8 +2034,8 @@
cfi_startproc
PSEUDO_END (BP_SYM (__clone))
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1
@@ -0,0 +1,59 @@
+/* Support for reading /etc/ld.so.cache files written by Linux ldconfig.
+ Copyright (C) 2004 Free Software Foundation, Inc.
@ -2096,8 +2096,8 @@
+ } while (0)
+
+#include_next <dl-cache.h>
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1
@@ -22,4 +22,31 @@
#define _dl_cache_check_flags(flags) \
((flags) == _DL_CACHE_DEFAULT_ID)
@ -2130,29 +2130,29 @@
+ } while (0)
+
#include_next <dl-cache.h>
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1
@@ -0,0 +1,5 @@
+#ifdef IS_IN_ldconfig
+#include <sysdeps/i386/dl-procinfo.c>
+#else
+#include <sysdeps/generic/dl-procinfo.c>
+#endif
--- glibc-20070731T1624/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1
@@ -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-20070731T1624/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1
@@ -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-20070731T1624/sysdeps/unix/sysv/linux/x86_64/clone.S 3 Dec 2006 23:12:36 -0000 1.7
+++ glibc-20070731T1624-fedora/sysdeps/unix/sysv/linux/x86_64/clone.S 14 Dec 2006 09:06:34 -0000 1.4.2.4
--- glibc-20070801T1703/sysdeps/unix/sysv/linux/x86_64/clone.S 3 Dec 2006 23:12:36 -0000 1.7
+++ glibc-20070801T1703-fedora/sysdeps/unix/sysv/linux/x86_64/clone.S 14 Dec 2006 09:06:34 -0000 1.4.2.4
@@ -89,9 +89,6 @@ L(pseudo_end):
ret

View File

@ -1,98 +0,0 @@
2007-07-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S
(pthread_rwlock_timedrdlock): Copy futex retval to %esi rather than
%ecx.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S
(pthread_rwlock_timedwrlock): Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
(__pthread_rwlock_unlock): Fix MUTEX != 0 args to __lll_*.
--- libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S.jj 2007-06-04 08:42:06.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S 2007-07-30 18:10:05.000000000 +0200
@@ -124,7 +124,7 @@ pthread_rwlock_timedrdlock:
leal READERS_WAKEUP(%ebp), %ebx
movl $SYS_futex, %eax
ENTER_KERNEL
- movl %eax, %ecx
+ movl %eax, %esi
17:
/* Reget the lock. */
@@ -139,7 +139,7 @@ pthread_rwlock_timedrdlock:
jnz 12f
13: subl $1, READERS_QUEUED(%ebp)
- cmpl $-ETIMEDOUT, %ecx
+ cmpl $-ETIMEDOUT, %esi
jne 2b
18: movl $ETIMEDOUT, %ecx
@@ -217,7 +217,7 @@ pthread_rwlock_timedrdlock:
call __lll_mutex_lock_wait
jmp 13b
-16: movl $-ETIMEDOUT, %ecx
+16: movl $-ETIMEDOUT, %esi
jmp 17b
19: movl $EINVAL, %ecx
--- libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S.jj 2007-06-04 08:42:06.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S 2007-07-30 18:10:59.000000000 +0200
@@ -122,7 +122,7 @@ pthread_rwlock_timedwrlock:
leal WRITERS_WAKEUP(%ebp), %ebx
movl $SYS_futex, %eax
ENTER_KERNEL
- movl %eax, %ecx
+ movl %eax, %esi
17:
/* Reget the lock. */
@@ -137,7 +137,7 @@ pthread_rwlock_timedwrlock:
jnz 12f
13: subl $1, WRITERS_QUEUED(%ebp)
- cmpl $-ETIMEDOUT, %ecx
+ cmpl $-ETIMEDOUT, %esi
jne 2b
18: movl $ETIMEDOUT, %ecx
@@ -210,7 +210,7 @@ pthread_rwlock_timedwrlock:
call __lll_mutex_lock_wait
jmp 13b
-16: movl $-ETIMEDOUT, %ecx
+16: movl $-ETIMEDOUT, %esi
jmp 17b
19: movl $EINVAL, %ecx
--- libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S.jj 2007-06-04 08:42:06.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S 2007-07-30 18:19:01.000000000 +0200
@@ -117,7 +117,7 @@ __pthread_rwlock_unlock:
#if MUTEX == 0
movl %edi, %ecx
#else
- leal MUTEX(%edx), %ecx
+ leal MUTEX(%edi), %ecx
#endif
call __lll_mutex_lock_wait
jmp 2b
@@ -126,7 +126,7 @@ __pthread_rwlock_unlock:
#if MUTEX == 0
movl %edi, %eax
#else
- leal MUTEX(%edx), %eax
+ leal MUTEX(%edi), %eax
#endif
call __lll_mutex_unlock_wake
jmp 4b
@@ -135,7 +135,7 @@ __pthread_rwlock_unlock:
#if MUTEX == 0
movl %edi, %eax
#else
- leal MUTEX(%edx), %eax
+ leal MUTEX(%edi), %eax
#endif
call __lll_mutex_unlock_wake
jmp 8b

View File

@ -1,26 +0,0 @@
2007-08-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.
--- libc/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h 2006-09-07 12:36:11.000000000 +0200
+++ libc/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h 2007-08-01 12:21:31.000000000 +0200
@@ -55,7 +55,7 @@
# define AIO_MISC_NOTIFY(waitlist) \
do { \
if (*waitlist->counterp > 0 && --*waitlist->counterp == 0) \
- lll_futex_wake (waitlist->counterp, 1); \
+ lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE); \
} while (0)
# define AIO_MISC_WAIT(result, futex, timeout, cancel) \
@@ -74,7 +74,8 @@
int status; \
do \
{ \
- status = lll_futex_timed_wait (futexaddr, oldval, timeout); \
+ status = lll_futex_timed_wait (futexaddr, oldval, timeout, \
+ LLL_PRIVATE); \
if (status != -EWOULDBLOCK) \
break; \
\

1142
glibc-ldconfig-speedup.patch Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,210 +0,0 @@
2007-07-30 Jakub Jelinek <jakub@redhat.com>
* stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t
value.
* stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning
if off_t is different rank from size_t.
* sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program,
uw_frame_state_for): Avoid type punning warnings.
* sysdeps/generic/unwind-dw2-fde-glibc.c
(_Unwind_IteratePhdrCallback): Likewise.
* sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise.
(binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes,
get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char
pointers.
nptl/
* tst-rwlock14.c (do_test): Avoid warnings on 32-bit arches.
localedata/
* tst-strptime.c (do_test): Use %tu in fmt string for ptrdiff_t value.
--- libc/stdlib/tst-strtod2.c.jj 2007-07-30 19:13:57.000000000 +0200
+++ libc/stdlib/tst-strtod2.c 2007-07-30 19:13:57.000000000 +0200
@@ -32,7 +32,7 @@ do_test (void)
}
if (ep != tests[i].str + tests[i].offset)
{
- printf ("test %zu strtod parsed %ju characters, expected %zu\n",
+ printf ("test %zu strtod parsed %tu characters, expected %zu\n",
i, ep - tests[i].str, tests[i].offset);
status = 1;
}
--- libc/localedata/tst-strptime.c.jj 2007-07-11 00:12:28.000000000 +0200
+++ libc/localedata/tst-strptime.c 2007-07-30 19:13:23.000000000 +0200
@@ -15,7 +15,7 @@ do_test (void)
static const char s[] = "\
\x54\x68\xb8\x6e\x67\x20\x6d\xad\xea\x69\x20\x6d\xe9\x74";
char *r = strptime (s, "%b", &tm);
- printf ("r = %p, r-s = %ju, tm.tm_mon = %d\n", r, r - s, tm.tm_mon);
+ printf ("r = %p, r-s = %tu, tm.tm_mon = %d\n", r, r - s, tm.tm_mon);
return r == NULL || r - s != 14 || tm.tm_mon != 10;
}
--- libc/nptl/tst-rwlock14.c.jj 2007-07-30 19:23:34.000000000 +0200
+++ libc/nptl/tst-rwlock14.c 2007-07-30 19:30:46.000000000 +0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2004, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
@@ -130,8 +130,8 @@ do_test (void)
result = 1;
}
- ts.tv_nsec = 0x100001000LL;
- if (ts.tv_nsec != 0x100001000LL)
+ ts.tv_nsec = (__typeof (ts.tv_nsec)) 0x100001000LL;
+ if ((__typeof (ts.tv_nsec)) 0x100001000LL != 0x100001000LL)
ts.tv_nsec = 2000000000;
e = pthread_rwlock_timedrdlock (&r, &ts);
--- libc/stdio-common/tst-fmemopen2.c.jj 2007-07-30 19:16:50.000000000 +0200
+++ libc/stdio-common/tst-fmemopen2.c 2007-07-30 19:16:50.000000000 +0200
@@ -28,7 +28,7 @@ do_test (void)
o = ftello (fp);
if (o != 0)
{
- printf ("second ftello returned %ld, expected %zu\n", o, (off_t) 0);
+ printf ("second ftello returned %ld, expected 0\n", o);
result = 1;
}
if (fseeko (fp, 0, SEEK_END) != 0)
--- libc/sysdeps/generic/unwind-dw2.c.jj 2006-05-02 02:45:11.000000000 +0200
+++ libc/sysdeps/generic/unwind-dw2.c 2007-07-30 19:45:31.000000000 +0200
@@ -1,5 +1,5 @@
/* DWARF2 exception handling and frame unwind runtime interface routines.
- Copyright (C) 1997,1998,1999,2000,2001,2002,2003,2005,2006
+ Copyright (C) 1997,1998,1999,2000,2001,2002,2003,2005,2006,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -309,8 +309,9 @@ extract_cie_info (struct dwarf_cie *cie,
/* "P" indicates a personality routine in the CIE augmentation. */
else if (aug[0] == 'P')
{
- p = read_encoded_value (context, *p, p + 1,
- (_Unwind_Ptr *) &fs->personality);
+ _Unwind_Ptr personality;
+ p = read_encoded_value (context, *p, p + 1, &personality);
+ fs->personality = (_Unwind_Personality_Fn) personality;
aug += 1;
}
@@ -771,8 +772,12 @@ execute_cfa_program (const unsigned char
else switch (insn)
{
case DW_CFA_set_loc:
- insn_ptr = read_encoded_value (context, fs->fde_encoding,
- insn_ptr, (_Unwind_Ptr *) &fs->pc);
+ {
+ _Unwind_Ptr pc;
+ insn_ptr = read_encoded_value (context, fs->fde_encoding,
+ insn_ptr, &pc);
+ fs->pc = (void *) pc;
+ }
break;
case DW_CFA_advance_loc1:
@@ -992,8 +997,11 @@ uw_frame_state_for (struct _Unwind_Conte
insn = aug + i;
}
if (fs->lsda_encoding != DW_EH_PE_omit)
- aug = read_encoded_value (context, fs->lsda_encoding, aug,
- (_Unwind_Ptr *) &context->lsda);
+ {
+ _Unwind_Ptr lsda;
+ aug = read_encoded_value (context, fs->lsda_encoding, aug, &lsda);
+ context->lsda = (void *) lsda;
+ }
/* Then the insns in the FDE up to our target PC. */
if (insn == NULL)
--- libc/sysdeps/generic/unwind-dw2-fde-glibc.c.jj 2004-05-25 20:48:24.000000000 +0200
+++ libc/sysdeps/generic/unwind-dw2-fde-glibc.c 2007-07-30 19:46:17.000000000 +0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of the GNU C Library.
@@ -235,10 +235,11 @@ _Unwind_IteratePhdrCallback (struct dl_p
if (data->ret != NULL)
{
unsigned int encoding = get_fde_encoding (data->ret);
+ _Unwind_Ptr func;
read_encoded_value_with_base (encoding,
base_from_cb_data (encoding, data),
- data->ret->pc_begin,
- (_Unwind_Ptr *)&data->func);
+ data->ret->pc_begin, &func);
+ data->func = (void *) func;
}
return 1;
}
--- libc/sysdeps/generic/unwind-dw2-fde.c.jj 2006-04-07 22:50:31.000000000 +0200
+++ libc/sysdeps/generic/unwind-dw2-fde.c 2007-07-30 19:45:55.000000000 +0200
@@ -1,5 +1,5 @@
/* Subroutines needed for unwinding stack frames for exception handling. */
-/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007
Free Software Foundation, Inc.
Contributed by Jason Merrill <jason@cygnus.com>.
@@ -301,7 +301,8 @@ get_cie_encoding (struct dwarf_cie *cie)
if (aug[0] != 'z')
return DW_EH_PE_absptr;
- p = aug + strlen (aug) + 1; /* Skip the augmentation string. */
+ /* Skip the augmentation string. */
+ p = aug + strlen ((const char *) aug) + 1;
p = read_uleb128 (p, &utmp); /* Skip code alignment. */
p = read_sleb128 (p, &stmp); /* Skip data alignment. */
p++; /* Skip return address column. */
@@ -838,7 +839,7 @@ linear_search_fdes (struct object *ob, f
else
{
_Unwind_Ptr mask;
- const char *p;
+ const unsigned char *p;
p = read_encoded_value_with_base (encoding, base,
this_fde->pc_begin, &pc_begin);
@@ -908,7 +909,7 @@ binary_search_single_encoding_fdes (stru
size_t i = (lo + hi) / 2;
fde *f = vec->array[i];
_Unwind_Ptr pc_begin, pc_range;
- const char *p;
+ const unsigned char *p;
p = read_encoded_value_with_base (encoding, base, f->pc_begin,
&pc_begin);
@@ -936,7 +937,7 @@ binary_search_mixed_encoding_fdes (struc
size_t i = (lo + hi) / 2;
fde *f = vec->array[i];
_Unwind_Ptr pc_begin, pc_range;
- const char *p;
+ const unsigned char *p;
int encoding;
encoding = get_fde_encoding (f);
@@ -1046,6 +1047,7 @@ _Unwind_Find_FDE (void *pc, struct dwarf
if (f)
{
int encoding;
+ _Unwind_Ptr func;
bases->tbase = ob->tbase;
bases->dbase = ob->dbase;
@@ -1054,7 +1056,8 @@ _Unwind_Find_FDE (void *pc, struct dwarf
if (ob->s.b.mixed_encoding)
encoding = get_fde_encoding (f);
read_encoded_value_with_base (encoding, base_from_object (encoding, ob),
- f->pc_begin, (_Unwind_Ptr *)&bases->func);
+ f->pc_begin, &func);
+ bases->func = (void *) func;
}
return f;

View File

@ -36,6 +36,7 @@ Source2: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/).tar.bz2
Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2
Patch0: %{glibcname}-fedora.patch
Patch1: %{name}-ia64-lib64.patch
Patch2: glibc-ldconfig-speedup.patch
Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
Obsoletes: gencat, locale, ldconfig, locale-ja, glibc-profile
@ -248,6 +249,7 @@ package or when debugging this package.
%patch1 -p1
%endif
%endif
%patch2 -p1
# A lot of programs still misuse memcpy when they have to use
# memmove. The memcpy implementation below is not tolerant at

View File

@ -1,2 +1,2 @@
42cd03e6b5608b1ca1444341a7c1027b glibc-20070731T1624.tar.bz2
9c141a28ced6c0680889ac8069dee8b8 glibc-fedora-20070731T1624.tar.bz2
7c4ebf2f3ac699fa03448287afc6ea2b glibc-20070801T1703.tar.bz2
1662c386245302062fb727a7ce32443e glibc-fedora-20070801T1703.tar.bz2