[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r20216 - in /fsf/trunk/libc: ./ bits/ elf/ include/sys/ intl/ malloc/ misc/ misc/sys/ sysdeps/generic/ sysdeps/generic/sys/ ...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r20216 - in /fsf/trunk/libc: ./ bits/ elf/ include/sys/ intl/ malloc/ misc/ misc/sys/ sysdeps/generic/ sysdeps/generic/sys/ ...
- From: eglibc@xxxxxxxxxx
- Date: Sat, 18 Aug 2012 00:01:44 -0000
Author: eglibc
Date: Sat Aug 18 00:01:43 2012
New Revision: 20216
Log:
Import glibc-mainline for 2012-08-18
Added:
fsf/trunk/libc/bits/param.h
fsf/trunk/libc/include/sys/param.h
fsf/trunk/libc/misc/sys/param.h
fsf/trunk/libc/sysdeps/mach/hurd/bits/param.h
fsf/trunk/libc/sysdeps/posix/alarm.c
fsf/trunk/libc/sysdeps/posix/mkfifo.c
fsf/trunk/libc/sysdeps/posix/mkfifoat.c
fsf/trunk/libc/sysdeps/posix/nice.c
fsf/trunk/libc/sysdeps/posix/time.c
fsf/trunk/libc/sysdeps/posix/utime.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/param.h
Removed:
fsf/trunk/libc/intl/tst-codeset.sh
fsf/trunk/libc/intl/tst-gettext3.sh
fsf/trunk/libc/intl/tst-gettext5.sh
fsf/trunk/libc/sysdeps/generic/sys/param.h
fsf/trunk/libc/sysdeps/mach/hurd/sys/
fsf/trunk/libc/sysdeps/unix/alarm.c
fsf/trunk/libc/sysdeps/unix/inet/syscalls.list
fsf/trunk/libc/sysdeps/unix/mkfifo.c
fsf/trunk/libc/sysdeps/unix/mkfifoat.c
fsf/trunk/libc/sysdeps/unix/nice.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/sys/param.h
fsf/trunk/libc/sysdeps/unix/time.c
fsf/trunk/libc/sysdeps/unix/utime.c
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/config.make.in
fsf/trunk/libc/configure
fsf/trunk/libc/configure.in
fsf/trunk/libc/elf/dl-close.c
fsf/trunk/libc/elf/dl-iteratephdr.c
fsf/trunk/libc/intl/Makefile
fsf/trunk/libc/malloc/arena.c
fsf/trunk/libc/malloc/malloc.c
fsf/trunk/libc/misc/Makefile
fsf/trunk/libc/sysdeps/generic/malloc-machine.h
fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_sincosl.c
fsf/trunk/libc/sysdeps/posix/getaddrinfo.c
fsf/trunk/libc/sysdeps/unix/syscalls.list
fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/time.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Aug 18 00:01:43 2012
@@ -1,4 +1,83 @@
+2012-08-17 Marek Polacek <polacek@xxxxxxxxxx>
+
+ * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
+ ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
+
2012-08-17 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * configure.in: Add AC_SUBST for sysheaders.
+ * configure: Regenerated.
+ * config.make.in (sysheaders): New substituted variable.
+
+ * sysdeps/unix/mkfifo.c: Moved ...
+ * sysdeps/posix/mkfifo.c: ... here.
+ * sysdeps/unix/mkfifoat.c: Moved ...
+ * sysdeps/posix/mkfifoat.c: ... here.
+
+ * sysdeps/unix/utime.c: Moved ...
+ * sysdeps/posix/utime.c: ... here.
+
+ * sysdeps/unix/time.c: Moved ...
+ * sysdeps/posix/time.c: ... here.
+ * sysdeps/unix/sysv/linux/time.c: Adjust #include.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
+
+ * sysdeps/unix/nice.c: Moved ...
+ * sysdeps/posix/nice.c: ... here.
+
+ * sysdeps/unix/alarm.c: Moved ...
+ * sysdeps/posix/alarm.c: ... here.
+
+ * intl/Makefile ($(codeset_mo)): Depend on the input file.
+
+2012-08-17 Jeff Law <law@xxxxxxxxxx>
+
+ * intl/Makefile (codeset_mo): New variable.
+ ($(codeset_mo)): New target.
+ (tst-codeset.out): Depend on that. Remove explicit rule.
+ (tst-gettext3.out, tst-gettext5.out): Likewise.
+ (LOCPATH-ENV, tst-codeset-ENV): New variables.
+ (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
+ * intl/tst-codeset.sh: Remove.
+ * intl/tst-gettext3.sh: Likewise.
+ * intl/tst-gettext5.sh: Likewise.
+
+2012-08-17 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
+ * sysdeps/unix/syscalls.list: ... here.
+
+ * sysdeps/posix/getaddrinfo.c
+ (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
+ (gaiconf_init, gaiconf_reload): Use them.
+ [!_STATBUF_ST_NSEC]
+ (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
+ Define using time_t rather than struct timespec.
+
+ * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
+ (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
+ Macros removed.
+ * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
+ [!NO_THREADS].
+ (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
+ (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
+ Likewise.
+
+ * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
+ __libc_cleanup_push argument.
+
+ * bits/param.h: New file.
+ * misc/sys/param.h: New file.
+ * include/sys/param.h: New file.
+ * misc/Makefile (headers): Add bits/param.h.
+ * sysdeps/generic/sys/param.h: File removed.
+ * sysdeps/unix/sysv/linux/bits/param.h: New file.
+ * sysdeps/unix/sysv/linux/sys/param.h: File removed.
+ * sysdeps/mach/hurd/bits/param.h: New file.
+ * sysdeps/mach/hurd/sys/param.h: New file.
+
+ * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
+ last change.
* libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
[_IO_MTSAFE_IO].
Added: fsf/trunk/libc/bits/param.h
==============================================================================
--- fsf/trunk/libc/bits/param.h (added)
+++ fsf/trunk/libc/bits/param.h Sat Aug 18 00:01:43 2012
@@ -1,0 +1,33 @@
+/* Old-style Unix parameters and limits. Stub version.
+ Copyright (C) 1995-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/>. */
+
+#ifndef _SYS_PARAM_H
+# error "Never use <bits/param.h> directly; include <sys/param.h> instead."
+#endif
+
+/* This header is expected to define a few particular macros.
+
+ The traditional BSD macros that correspond directly to POSIX <limits.h>
+ macros don't need to be defined here if <bits/local_lim.h> defines the
+ POSIX limit macro, as the common <sys/param.h> code will define each
+ traditional name to its POSIX name if available.
+
+ This file should define at least:
+
+ EXEC_PAGESIZE
+*/
Modified: fsf/trunk/libc/config.make.in
==============================================================================
--- fsf/trunk/libc/config.make.in (original)
+++ fsf/trunk/libc/config.make.in Sat Aug 18 00:01:43 2012
@@ -44,6 +44,7 @@
config-asflags-i686 = @libc_cv_as_i686@
defines = @DEFINES@
+sysheaders = @sysheaders@
sysincludes = @SYSINCLUDES@
c++-sysincludes = @CXX_SYSINCLUDES@
all-warnings = @all_warnings@
Modified: fsf/trunk/libc/configure
==============================================================================
--- fsf/trunk/libc/configure (original)
+++ fsf/trunk/libc/configure Sat Aug 18 00:01:43 2012
@@ -661,6 +661,7 @@
bindnow
oldest_abi
use_default_link
+sysheaders
with_fp
ac_ct_CXX
CXXFLAGS
@@ -3478,6 +3479,7 @@
+
# Check whether --with-default-link was given.
if test "${with_default_link+set}" = set; then :
withval=$with_default_link; use_default_link=$withval
Modified: fsf/trunk/libc/configure.in
==============================================================================
--- fsf/trunk/libc/configure.in (original)
+++ fsf/trunk/libc/configure.in Sat Aug 18 00:01:43 2012
@@ -95,6 +95,7 @@
@<:@default=compiler default@:>@]),
[sysheaders=$withval],
[sysheaders=''])
+AC_SUBST(sysheaders)
AC_SUBST(use_default_link)
AC_ARG_WITH([default-link],
Modified: fsf/trunk/libc/elf/dl-close.c
==============================================================================
--- fsf/trunk/libc/elf/dl-close.c (original)
+++ fsf/trunk/libc/elf/dl-close.c Sat Aug 18 00:01:43 2012
@@ -486,7 +486,7 @@
/* Speed up removing most recently added objects. */
j = cnt;
else
- for (i = 0; i < cnt; i++)
+ for (i = 0; i < cnt; i++)
if (ns_msl->r_list[i]->l_removed == 0)
{
if (i != j)
@@ -641,7 +641,11 @@
#ifdef SHARED
assert (nsid != LM_ID_BASE);
#endif
- r->r_map = ns->_ns_loaded = imap->l_next;
+ ns->_ns_loaded = imap->l_next;
+
+ /* Update the pointer to the head of the list
+ we leave for debuggers to examine. */
+ r->r_map = (void *) ns->_ns_loaded;
}
--ns->_ns_nloaded;
Modified: fsf/trunk/libc/elf/dl-iteratephdr.c
==============================================================================
--- fsf/trunk/libc/elf/dl-iteratephdr.c (original)
+++ fsf/trunk/libc/elf/dl-iteratephdr.c Sat Aug 18 00:01:43 2012
@@ -1,5 +1,5 @@
/* Get loaded objects program headers.
- Copyright (C) 2001-2004, 2006-2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2001-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@xxxxxxxxxx>, 2001.
@@ -39,7 +39,7 @@
/* Make sure nobody modifies the list of loaded objects. */
__rtld_lock_lock_recursive (GL(dl_load_write_lock));
- __libc_cleanup_push (cancel_handler, 0);
+ __libc_cleanup_push (cancel_handler, NULL);
/* We have to determine the namespace of the caller since this determines
which namespace is reported. */
Added: fsf/trunk/libc/include/sys/param.h
==============================================================================
--- fsf/trunk/libc/include/sys/param.h (added)
+++ fsf/trunk/libc/include/sys/param.h Sat Aug 18 00:01:43 2012
@@ -1,0 +1,1 @@
+#include <misc/sys/param.h>
Modified: fsf/trunk/libc/intl/Makefile
==============================================================================
--- fsf/trunk/libc/intl/Makefile (original)
+++ fsf/trunk/libc/intl/Makefile Sat Aug 18 00:01:43 2012
@@ -61,6 +61,16 @@
tests: $(objpfx)mtrace-tst-gettext
endif
endif
+
+# Multiple tests use this data. Create it once to avoid racing and
+# spurious test failures.
+codeset_mo = $(objpfx)domaindir/de_DE/LC_MESSAGES/codeset.mo
+
+$(codeset_mo): tstcodeset.po
+ $(make-target-directory)
+ msgfmt -o $@T $<
+ mv -f $@T $@
+
$(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out
$(common-objpfx)malloc/mtrace $(objpfx)tst-gettext.mtrace > $@
$(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext
@@ -70,16 +80,14 @@
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
$(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
-$(objpfx)tst-codeset.out: tst-codeset.sh $(objpfx)tst-codeset
- $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
-$(objpfx)tst-gettext3.out: tst-gettext3.sh $(objpfx)tst-gettext3
- $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
$(objpfx)tst-gettext4.out: tst-gettext4.sh $(objpfx)tst-gettext4
- $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
-$(objpfx)tst-gettext5.out: tst-gettext5.sh $(objpfx)tst-gettext5
$(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
$(objpfx)tst-gettext6.out: tst-gettext6.sh $(objpfx)tst-gettext6
$(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
+
+$(objpfx)tst-codeset.out: $(codeset_mo)
+$(objpfx)tst-gettext3.out: $(codeset_mo)
+$(objpfx)tst-gettext5.out: $(codeset_mo)
endif
endif
@@ -95,6 +103,11 @@
CFLAGS-tst-gettext4.c = -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-gettext5.c = -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-gettext6.c = -DOBJPFX=\"$(objpfx)\"
+
+LOCPATH-ENV = LOCPATH=$(common-objpfx)localedata
+tst-codeset-ENV = $(LOCPATH-ENV)
+tst-gettext3-ENV = $(LOCPATH-ENV)
+tst-gettext5-ENV = $(LOCPATH-ENV)
ifeq ($(have-thread-library),yes)
ifeq (yes,$(build-shared))
Removed: fsf/trunk/libc/intl/tst-codeset.sh
==============================================================================
--- fsf/trunk/libc/intl/tst-codeset.sh (original)
+++ fsf/trunk/libc/intl/tst-codeset.sh (removed)
@@ -1,42 +1,0 @@
-#! /bin/sh
-# Test of bind_textdomain_codeset.
-# Copyright (C) 2001, 2002, 2005 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/>.
-
-common_objpfx=$1
-objpfx=$2
-
-LC_ALL=C
-export LC_ALL
-
-# Generate the test data.
-msgfmt -o ${objpfx}codeset.mo.$$ tstcodeset.po || exit
-# Create the domain directories.
-mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
-# Populate them.
-mv -f ${objpfx}codeset.mo.$$ ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo
-
-GCONV_PATH=${common_objpfx}iconvdata
-export GCONV_PATH
-LOCPATH=${common_objpfx}localedata
-export LOCPATH
-
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
-${objpfx}tst-codeset > ${objpfx}tst-codeset.out
-
-exit $?
Removed: fsf/trunk/libc/intl/tst-gettext3.sh
==============================================================================
--- fsf/trunk/libc/intl/tst-gettext3.sh (original)
+++ fsf/trunk/libc/intl/tst-gettext3.sh (removed)
@@ -1,43 +1,0 @@
-#! /bin/sh
-# Test that the gettext() results come out in the correct encoding for
-# locales that differ only in their encoding.
-# Copyright (C) 2001, 2002, 2005 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/>.
-
-common_objpfx=$1
-objpfx=$2
-
-LC_ALL=C
-export LC_ALL
-
-# Generate the test data.
-msgfmt -o ${objpfx}codeset.mo.$$ tstcodeset.po || exit
-# Create the domain directories.
-mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
-# Populate them.
-mv -f ${objpfx}codeset.mo.$$ ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo
-
-GCONV_PATH=${common_objpfx}iconvdata
-export GCONV_PATH
-LOCPATH=${common_objpfx}localedata
-export LOCPATH
-
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
-${objpfx}tst-gettext3 > ${objpfx}tst-gettext3.out
-
-exit $?
Removed: fsf/trunk/libc/intl/tst-gettext5.sh
==============================================================================
--- fsf/trunk/libc/intl/tst-gettext5.sh (original)
+++ fsf/trunk/libc/intl/tst-gettext5.sh (removed)
@@ -1,42 +1,0 @@
-#! /bin/sh
-# Test that gettext() in multithreaded applications works correctly if
-# different threads operate in different locales referring to the same
-# catalog file but with different encodings.
-# Copyright (C) 2001, 2002, 2005 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/>.
-
-common_objpfx=$1
-run_program_prefix=$2
-objpfx=$3
-
-LC_ALL=C
-export LC_ALL
-
-# Create the domain directories.
-mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
-# Populate them.
-msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po
-
-GCONV_PATH=${common_objpfx}iconvdata
-export GCONV_PATH
-LOCPATH=${common_objpfx}localedata
-export LOCPATH
-
-${run_program_prefix} ${objpfx}tst-gettext5 > ${objpfx}tst-gettext5.out
-
-exit $?
Modified: fsf/trunk/libc/malloc/arena.c
==============================================================================
--- fsf/trunk/libc/malloc/arena.c (original)
+++ fsf/trunk/libc/malloc/arena.c Sat Aug 18 00:01:43 2012
@@ -141,6 +141,8 @@
/**************************************************************************/
+#ifndef NO_THREADS
+
/* atfork support. */
static __malloc_ptr_t (*save_malloc_hook) (size_t __size,
@@ -276,7 +278,7 @@
(void)mutex_unlock(&list_lock);
}
-#ifdef __linux__
+# ifdef __linux__
/* In NPTL, unlocking a mutex in the child process after a
fork() is currently unsafe, whereas re-initializing it is safe and
@@ -311,11 +313,13 @@
atfork_recursive_cntr = 0;
}
-#else
-
-#define ptmalloc_unlock_all2 ptmalloc_unlock_all
-
-#endif
+# else
+
+# define ptmalloc_unlock_all2 ptmalloc_unlock_all
+
+# endif
+
+#endif /* !NO_THREADS */
/* Initialization routine. */
#include <string.h>
Modified: fsf/trunk/libc/malloc/malloc.c
==============================================================================
--- fsf/trunk/libc/malloc/malloc.c (original)
+++ fsf/trunk/libc/malloc/malloc.c Sat Aug 18 00:01:43 2012
@@ -1075,9 +1075,10 @@
const void *caller);
static void* memalign_check(size_t alignment, size_t bytes,
const void *caller);
-/* These routines are never needed in this configuration. */
+#ifndef NO_THREADS
static void* malloc_atfork(size_t sz, const void *caller);
static void free_atfork(void* mem, const void *caller);
+#endif
/* ------------- Optional versions of memcopy ---------------- */
Modified: fsf/trunk/libc/misc/Makefile
==============================================================================
--- fsf/trunk/libc/misc/Makefile (original)
+++ fsf/trunk/libc/misc/Makefile Sat Aug 18 00:01:43 2012
@@ -25,7 +25,8 @@
sys/ptrace.h sys/file.h sys/dir.h sys/cdefs.h \
ar.h a.out.h libgen.h stab.h bits/stab.def sgtty.h \
ttyent.h paths.h sys/reboot.h \
- sys/mman.h sys/param.h fstab.h mntent.h search.h err.h error.h \
+ sys/mman.h sys/param.h bits/param.h \
+ fstab.h mntent.h search.h err.h error.h \
sys/queue.h sysexits.h syscall.h sys/syscall.h sys/swap.h \
sys/select.h ustat.h sys/ustat.h bits/ustat.h sys/sysinfo.h \
regexp.h bits/select.h bits/mman.h sys/xattr.h \
Added: fsf/trunk/libc/misc/sys/param.h
==============================================================================
--- fsf/trunk/libc/misc/sys/param.h (added)
+++ fsf/trunk/libc/misc/sys/param.h Sat Aug 18 00:01:43 2012
@@ -1,0 +1,101 @@
+/* Compatibility header for old-style Unix parameters and limits.
+ Copyright (C) 1995-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/>. */
+
+#ifndef _SYS_PARAM_H
+#define _SYS_PARAM_H 1
+
+#define __need_NULL
+#include <stddef.h>
+
+#include <sys/types.h>
+#include <limits.h>
+#include <endian.h> /* Define BYTE_ORDER et al. */
+#include <signal.h> /* Define NSIG. */
+
+/* This file defines some things in system-specific ways. */
+#include <bits/param.h>
+
+
+/* BSD names for some <limits.h> values. */
+
+#define NBBY CHAR_BIT
+
+#if !defined NGROUPS && defined NGROUPS_MAX
+# define NGROUPS NGROUPS_MAX
+#endif
+#if !defined MAXSYMLINKS && defined SYMLOOP_MAX
+# define MAXSYMLINKS SYMLOOP_MAX
+#endif
+#if !defined CANBSIZ && defined MAX_CANON
+# define CANBSIZ MAX_CANON
+#endif
+#if !defined MAXPATHLEN && defined PATH_MAX
+# define MAXPATHLEN PATH_MAX
+#endif
+#if !defined NOFILE && defined OPEN_MAX
+# define NOFILE OPEN_MAX
+#endif
+#ifndef NCARGS
+# ifdef ARG_MAX
+# define NCARGS ARG_MAX
+# else
+/* ARG_MAX is unlimited, but we define NCARGS for BSD programs that want to
+ compare against some fixed limit. */
+# define NCARGS INT_MAX
+# endif
+#endif
+
+
+/* Magical constants. */
+#ifndef NOGROUP
+# define NOGROUP 65535 /* Marker for empty group set member. */
+#endif
+#ifndef NODEV
+# define NODEV ((dev_t) -1) /* Non-existent device. */
+#endif
+
+
+/* Unit of `st_blocks'. */
+#define DEV_BSIZE 512
+
+
+/* Bit map related macros. */
+#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
+#define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
+#define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
+#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
+
+/* Macros for counting and rounding. */
+#ifndef howmany
+# define howmany(x, y) (((x) + ((y) - 1)) / (y))
+#endif
+#ifdef __GNUC__
+# define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \
+ ? (((x) + (y) - 1) & ~((y) - 1)) \
+ : ((((x) + ((y) - 1)) / (y)) * (y)))
+#else
+# define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
+#endif
+#define powerof2(x) ((((x) - 1) & (x)) == 0)
+
+/* Macros for min/max. */
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#define MAX(a,b) (((a)>(b))?(a):(b))
+
+
+#endif /* sys/param.h */
Modified: fsf/trunk/libc/sysdeps/generic/malloc-machine.h
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/malloc-machine.h (original)
+++ fsf/trunk/libc/sysdeps/generic/malloc-machine.h Sat Aug 18 00:01:43 2012
@@ -1,6 +1,6 @@
/* Basic platform-independent macro definitions for mutexes,
thread-specific data and parameters for malloc.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003-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
@@ -34,10 +34,11 @@
be based on atomic test-and-set operations, for example. */
typedef int mutex_t;
-# define mutex_init(m) (*(m) = 0)
-# define mutex_lock(m) ((*(m) = 1), 0)
-# define mutex_trylock(m) (*(m) ? 1 : ((*(m) = 1), 0))
-# define mutex_unlock(m) (*(m) = 0)
+# define mutex_init(m) (*(m) = 0)
+# define mutex_lock(m) ((*(m) = 1), 0)
+# define mutex_trylock(m) (*(m) ? 1 : ((*(m) = 1), 0))
+# define mutex_unlock(m) (*(m) = 0)
+# define MUTEX_INITIALIZER (0)
typedef void *tsd_key_t;
# define tsd_key_create(key, destr) do {} while(0)
Removed: fsf/trunk/libc/sysdeps/generic/sys/param.h
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/sys/param.h (original)
+++ fsf/trunk/libc/sysdeps/generic/sys/param.h (removed)
@@ -1,78 +1,0 @@
-/* Compatibility header for old-style Unix parameters and limits. Stub version.
- 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/>. */
-
-#ifndef _SYS_PARAM_H
-
-#define _SYS_PARAM_H 1
-#include <features.h>
-
-#define __need_NULL
-#include <stddef.h>
-
-#include <sys/types.h>
-#include <errno.h>
-#include <signal.h>
-#include <endian.h>
-#include <limits.h>
-
-
-/* BSD names for some <limits.h> values. We do not define the BSD names
- for the values which are not statically limited, such as NOFILE. */
-
-#define NBBY CHAR_BIT
-#ifdef NGROUPS_MAX
-# define NGROUPS NGROUPS_MAX
-#endif
-#ifdef SYMLOOP_MAX
-# define MAXSYMLINKS SYMLOOP_MAX
-#endif
-#define CANBSIZ MAX_CANON /* XXX ? */
-
-/* ARG_MAX is unlimited, but we define NCARGS for BSD programs that want to
- compare against some fixed limit. */
-#define NCARGS INT_MAX
-
-
-/* Magical constants. */
-#define NOGROUP 65535 /* Marker for empty group set member. */
-#define NODEV ((dev_t) -1) /* Non-existent device. */
-
-
-/* Bit map related macros. */
-#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
-#define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
-#define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
-#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
-
-/* Macros for counting and rounding. */
-#ifndef howmany
-# define howmany(x, y) (((x)+((y)-1))/(y))
-#endif
-#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
-#define powerof2(x) ((((x)-1)&(x))==0)
-
-/* Macros for min/max. */
-#define MIN(a,b) (((a)<(b))?(a):(b))
-#define MAX(a,b) (((a)>(b))?(a):(b))
-
-
-/* Unit of `st_blocks'. */
-#define DEV_BSIZE 512
-
-
-#endif /* sys/param.h */
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_sincosl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_sincosl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_sincosl.c Sat Aug 18 00:01:43 2012
@@ -1,5 +1,5 @@
/* Compute sine and cosine of argument.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997.
@@ -25,7 +25,7 @@
void
__sincosl (long double x, long double *sinx, long double *cosx)
{
- int32_t se, i0, i1;
+ int32_t se, i0, i1 __attribute__ ((unused));
/* High word of x. */
GET_LDOUBLE_WORDS (se, i0, i1, x);
Added: fsf/trunk/libc/sysdeps/mach/hurd/bits/param.h
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/bits/param.h (added)
+++ fsf/trunk/libc/sysdeps/mach/hurd/bits/param.h Sat Aug 18 00:01:43 2012
@@ -1,0 +1,87 @@
+/* Old-style Unix parameters and limits. Hurd version.
+ Copyright (C) 1993-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/>. */
+
+#ifndef _SYS_PARAM_H
+# error "Never use <bits/param.h> directly; include <sys/param.h> instead."
+#endif
+
+/* This file is deprecated and is provided only for compatibility with
+ Unix systems. It is unwise to include this file on programs which
+ are intended only for GNU systems.
+
+ Parts from:
+
+ * Copyright (c) 1982, 1986, 1989 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * @(#)param.h 7.23 (Berkeley) 5/6/91
+ */
+
+
+/* What versions of BSD we are compatible with. */
+#define BSD 199306 /* System version (year & month). */
+#define BSD4_3 1
+#define BSD4_4 1
+
+#define GNU 1994100 /* GNU version (year, month, and release). */
+
+
+/* BSD names for some <limits.h> values. We do not define the BSD names
+ for the values which are not statically limited, such as NOFILE. */
+
+
+/* There is nothing quite equivalent in GNU to Unix "mounts", but there is
+ no limit on the number of simultaneously attached filesystems. */
+#define NMOUNT INT_MAX
+
+
+/* Scale factor for scaled integers used to count %cpu time and load avgs.
+
+ The number of CPU `tick's that map to a unique `%age' can be expressed
+ by the formula (1 / (2 ^ (FSHIFT - 11))). The maximum load average that
+ can be calculated (assuming 32 bits) can be closely approximated using
+ the formula (2 ^ (2 * (16 - FSHIFT))) for (FSHIFT < 15). */
+
+#define FSHIFT 11 /* Bits to right of fixed binary point. */
+#define FSCALE (1<<FSHIFT)
+
+#endif /* sys/param.h */
Added: fsf/trunk/libc/sysdeps/posix/alarm.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/alarm.c (added)
+++ fsf/trunk/libc/sysdeps/posix/alarm.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,50 @@
+/* Copyright (C) 1991,1992,1994,1997,2002,2004 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 <unistd.h>
+#include <sys/time.h>
+
+/* Schedule an alarm. In SECONDS seconds, the process will get a SIGALRM.
+ If SECONDS is zero, any currently scheduled alarm will be cancelled.
+ The function returns the number of seconds remaining until the last
+ alarm scheduled would have signaled, or zero if there wasn't one.
+ There is no return value to indicate an error, but you can set `errno'
+ to 0 and check its value after calling `alarm', and this might tell you.
+ The signal may come late due to processor scheduling. */
+unsigned int
+alarm (seconds)
+ unsigned int seconds;
+{
+ struct itimerval old, new;
+ unsigned int retval;
+
+ new.it_interval.tv_usec = 0;
+ new.it_interval.tv_sec = 0;
+ new.it_value.tv_usec = 0;
+ new.it_value.tv_sec = (long int) seconds;
+ if (__setitimer (ITIMER_REAL, &new, &old) < 0)
+ return 0;
+
+ retval = old.it_value.tv_sec;
+ /* Round to the nearest second, but never report zero seconds when
+ the alarm is still set. */
+ if (old.it_value.tv_usec >= 500000
+ || (retval == 0 && old.it_value.tv_usec > 0))
+ ++retval;
+ return retval;
+}
+libc_hidden_def (alarm)
Modified: fsf/trunk/libc/sysdeps/posix/getaddrinfo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/getaddrinfo.c (original)
+++ fsf/trunk/libc/sysdeps/posix/getaddrinfo.c Sat Aug 18 00:01:43 2012
@@ -1855,7 +1855,40 @@
static int gaiconf_reload_flag_ever_set;
/* Last modification time. */
+#ifdef _STATBUF_ST_NSEC
+
static struct timespec gaiconf_mtime;
+
+static inline void
+save_gaiconf_mtime (const struct stat64 *st)
+{
+ gaiconf_mtime = st->st_mtim;
+}
+
+static inline bool
+check_gaiconf_mtime (const struct stat64 *st)
+{
+ return (st->st_mtim.tv_sec == gaiconf_mtime.tv_sec
+ && st->st_mtim.tv_nsec == gaiconf_mtime.tv_nsec);
+}
+
+#else
+
+static time_t gaiconf_mtime;
+
+static inline void
+save_gaiconf_mtime (const struct stat64 *st)
+{
+ gaiconf_mtime = st->st_mtime;
+}
+
+static inline bool
+check_gaiconf_mtime (const struct stat64 *st)
+{
+ return st->st_mtime == gaiconf_mtime;
+}
+
+#endif
libc_freeres_fn(fini)
@@ -2298,7 +2331,7 @@
if (oldscope != default_scopes)
free ((void *) oldscope);
- gaiconf_mtime = st.st_mtim;
+ save_gaiconf_mtime (&st);
}
else
{
@@ -2320,7 +2353,7 @@
{
struct stat64 st;
if (__xstat64 (_STAT_VER, GAICONF_FNAME, &st) != 0
- || memcmp (&st.st_mtim, &gaiconf_mtime, sizeof (gaiconf_mtime)) != 0)
+ || !check_gaiconf_mtime (&st))
gaiconf_init ();
}
Added: fsf/trunk/libc/sysdeps/posix/mkfifo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/mkfifo.c (added)
+++ fsf/trunk/libc/sysdeps/posix/mkfifo.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,29 @@
+/* Copyright (C) 1991, 1996, 1997 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 <errno.h>
+#include <stddef.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+
+/* Create a named pipe (FIFO) named PATH with protections MODE. */
+int
+mkfifo (const char *path, mode_t mode)
+{
+ dev_t dev = 0;
+ return __xmknod (_MKNOD_VER, path, mode | S_IFIFO, &dev);
+}
Added: fsf/trunk/libc/sysdeps/posix/mkfifoat.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/mkfifoat.c (added)
+++ fsf/trunk/libc/sysdeps/posix/mkfifoat.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,31 @@
+/* Copyright (C) 2005 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 <sys/stat.h>
+
+
+/* Create a new FIFO with permission bits MODE. But interpret
+ relative PATH names relative to the directory associated with FD. */
+int
+mkfifoat (fd, file, mode)
+ int fd;
+ const char *file;
+ mode_t mode;
+{
+ dev_t dev = 0;
+ return __xmknodat (_MKNOD_VER, fd, file, mode | S_IFIFO, &dev);
+}
Added: fsf/trunk/libc/sysdeps/posix/nice.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/nice.c (added)
+++ fsf/trunk/libc/sysdeps/posix/nice.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,52 @@
+/* Copyright (C) 1992, 1996, 1997, 2001, 2002, 2006
+ 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 <errno.h>
+#include <unistd.h>
+#include <sys/resource.h>
+
+/* Increment the scheduling priority of the calling process by INCR.
+ The superuser may use a negative INCR to decrement the priority. */
+int
+nice (int incr)
+{
+ int save;
+ int prio;
+ int result;
+
+ /* -1 is a valid priority, so we use errno to check for an error. */
+ save = errno;
+ __set_errno (0);
+ prio = getpriority (PRIO_PROCESS, 0);
+ if (prio == -1)
+ {
+ if (errno != 0)
+ return -1;
+ else
+ __set_errno (save);
+ }
+
+ result = setpriority (PRIO_PROCESS, 0, prio + incr);
+ if (result == -1)
+ {
+ if (errno == EACCES)
+ errno = EPERM;
+ return -1;
+ }
+ return getpriority (PRIO_PROCESS, 0);
+}
Added: fsf/trunk/libc/sysdeps/posix/time.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/time.c (added)
+++ fsf/trunk/libc/sysdeps/posix/time.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,41 @@
+/* Copyright (C) 1991,92,97,2001,02 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 <stddef.h> /* For NULL. */
+#include <time.h>
+#include <sys/time.h>
+
+
+/* Return the current time as a `time_t' and also put it in *T if T is
+ not NULL. Time is represented as seconds from Jan 1 00:00:00 1970. */
+time_t
+time (t)
+ time_t *t;
+{
+ struct timeval tv;
+ time_t result;
+
+ if (__gettimeofday (&tv, (struct timezone *) NULL))
+ result = (time_t) -1;
+ else
+ result = (time_t) tv.tv_sec;
+
+ if (t != NULL)
+ *t = result;
+ return result;
+}
+libc_hidden_def (time)
Added: fsf/trunk/libc/sysdeps/posix/utime.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/utime.c (added)
+++ fsf/trunk/libc/sysdeps/posix/utime.c Sat Aug 18 00:01:43 2012
@@ -1,0 +1,49 @@
+/* Copyright (C) 1991,94,97,2002 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 <sysdep.h>
+#include <errno.h>
+#include <utime.h>
+#include <time.h>
+#include <sys/types.h>
+#include <sys/time.h>
+
+
+/* Set the access and modification times of FILE to those given in TIMES.
+ If TIMES is NULL, set them to the current time. */
+int
+utime (file, times)
+ const char *file;
+ const struct utimbuf *times;
+{
+ struct timeval timevals[2];
+ struct timeval *tvp;
+
+ if (times != NULL)
+ {
+ timevals[0].tv_sec = (time_t) times->actime;
+ timevals[0].tv_usec = 0L;
+ timevals[1].tv_sec = (time_t) times->modtime;
+ timevals[1].tv_usec = 0L;
+ tvp = timevals;
+ }
+ else
+ tvp = NULL;
+
+ return __utimes (file, tvp);
+}
+libc_hidden_def (utime)
Removed: fsf/trunk/libc/sysdeps/unix/alarm.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/alarm.c (original)
+++ fsf/trunk/libc/sysdeps/unix/alarm.c (removed)
@@ -1,50 +1,0 @@
-/* Copyright (C) 1991,1992,1994,1997,2002,2004 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 <unistd.h>
-#include <sys/time.h>
-
-/* Schedule an alarm. In SECONDS seconds, the process will get a SIGALRM.
- If SECONDS is zero, any currently scheduled alarm will be cancelled.
- The function returns the number of seconds remaining until the last
- alarm scheduled would have signaled, or zero if there wasn't one.
- There is no return value to indicate an error, but you can set `errno'
- to 0 and check its value after calling `alarm', and this might tell you.
- The signal may come late due to processor scheduling. */
-unsigned int
-alarm (seconds)
- unsigned int seconds;
-{
- struct itimerval old, new;
- unsigned int retval;
-
- new.it_interval.tv_usec = 0;
- new.it_interval.tv_sec = 0;
- new.it_value.tv_usec = 0;
- new.it_value.tv_sec = (long int) seconds;
- if (__setitimer (ITIMER_REAL, &new, &old) < 0)
- return 0;
-
- retval = old.it_value.tv_sec;
- /* Round to the nearest second, but never report zero seconds when
- the alarm is still set. */
- if (old.it_value.tv_usec >= 500000
- || (retval == 0 && old.it_value.tv_usec > 0))
- ++retval;
- return retval;
-}
-libc_hidden_def (alarm)
Removed: fsf/trunk/libc/sysdeps/unix/inet/syscalls.list
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/inet/syscalls.list (original)
+++ fsf/trunk/libc/sysdeps/unix/inet/syscalls.list (removed)
@@ -1,23 +1,0 @@
-# File name Caller Syscall name # args Strong name Weak names
-
-accept - accept Ci:iBN __libc_accept accept
-bind - bind i:ipi __bind bind
-connect - connect Ci:ipi __libc_connect __connect connect
-gethostid - gethostid i: gethostid
-gethostname - gethostname i:bn __gethostname gethostname
-getpeername - getpeername i:ibN __getpeername getpeername
-getsockname - getsockname i:ibN __getsockname getsockname
-getsockopt - getsockopt i:iiiBN getsockopt
-listen - listen i:ii __listen listen
-recv - recv Ci:ibni __libc_recv recv
-recvfrom - recvfrom Ci:ibniBN __libc_recvfrom __recvfrom recvfrom
-recvmsg - recvmsg Ci:ipi __libc_recvmsg __recvmsg recvmsg
-send - send Ci:ibni __libc_send __send send
-sendmsg - sendmsg Ci:ipi __libc_sendmsg __sendmsg sendmsg
-sendto - sendto Ci:ibnibn __libc_sendto __sendto sendto
-sethostid - sethostid i:i sethostid
-sethostname - sethostname i:pi sethostname
-setsockopt - setsockopt i:iiibn setsockopt __setsockopt
-shutdown - shutdown i:ii shutdown
-socket - socket i:iii __socket socket
-socketpair - socketpair i:iiif socketpair
Removed: fsf/trunk/libc/sysdeps/unix/mkfifo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/mkfifo.c (original)
+++ fsf/trunk/libc/sysdeps/unix/mkfifo.c (removed)
@@ -1,29 +1,0 @@
-/* Copyright (C) 1991, 1996, 1997 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 <errno.h>
-#include <stddef.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-
-/* Create a named pipe (FIFO) named PATH with protections MODE. */
-int
-mkfifo (const char *path, mode_t mode)
-{
- dev_t dev = 0;
- return __xmknod (_MKNOD_VER, path, mode | S_IFIFO, &dev);
-}
Removed: fsf/trunk/libc/sysdeps/unix/mkfifoat.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/mkfifoat.c (original)
+++ fsf/trunk/libc/sysdeps/unix/mkfifoat.c (removed)
@@ -1,31 +1,0 @@
-/* Copyright (C) 2005 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 <sys/stat.h>
-
-
-/* Create a new FIFO with permission bits MODE. But interpret
- relative PATH names relative to the directory associated with FD. */
-int
-mkfifoat (fd, file, mode)
- int fd;
- const char *file;
- mode_t mode;
-{
- dev_t dev = 0;
- return __xmknodat (_MKNOD_VER, fd, file, mode | S_IFIFO, &dev);
-}
Removed: fsf/trunk/libc/sysdeps/unix/nice.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/nice.c (original)
+++ fsf/trunk/libc/sysdeps/unix/nice.c (removed)
@@ -1,52 +1,0 @@
-/* Copyright (C) 1992, 1996, 1997, 2001, 2002, 2006
- 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 <errno.h>
-#include <unistd.h>
-#include <sys/resource.h>
-
-/* Increment the scheduling priority of the calling process by INCR.
- The superuser may use a negative INCR to decrement the priority. */
-int
-nice (int incr)
-{
- int save;
- int prio;
- int result;
-
- /* -1 is a valid priority, so we use errno to check for an error. */
- save = errno;
- __set_errno (0);
- prio = getpriority (PRIO_PROCESS, 0);
- if (prio == -1)
- {
- if (errno != 0)
- return -1;
- else
- __set_errno (save);
- }
-
- result = setpriority (PRIO_PROCESS, 0, prio + incr);
- if (result == -1)
- {
- if (errno == EACCES)
- errno = EPERM;
- return -1;
- }
- return getpriority (PRIO_PROCESS, 0);
-}
Modified: fsf/trunk/libc/sysdeps/unix/syscalls.list
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/syscalls.list (original)
+++ fsf/trunk/libc/sysdeps/unix/syscalls.list Sat Aug 18 00:01:43 2012
@@ -1,13 +1,16 @@
# File name Caller Syscall name Args Strong name Weak names
+accept - accept Ci:iBN __libc_accept accept
access - access i:si __access access
acct - acct i:S acct
adjtime - adjtime i:pp __adjtime adjtime
+bind - bind i:ipi __bind bind
chdir - chdir i:s __chdir chdir
chmod - chmod i:si __chmod chmod
chown - chown i:sii __chown __chown_internal chown
chroot - chroot i:s chroot
close - close Ci:i __libc_close __close close
+connect - connect Ci:ipi __libc_connect __connect connect
dup - dup i:i __dup dup
dup2 - dup2 i:ii __dup2 dup2
dup3 - dup3 i:iii __dup3 dup3
@@ -21,16 +24,22 @@
getdomain - getdomainname i:si getdomainname
getgid - getgid Ei: __getgid getgid
getgroups - getgroups i:ip __getgroups getgroups
+gethostid - gethostid i: gethostid
+gethostname - gethostname i:bn __gethostname gethostname
getitimer - getitimer i:ip __getitimer getitimer
+getpeername - getpeername i:ibN __getpeername getpeername
getpid - getpid Ei: __getpid getpid
getpriority - getpriority i:ii getpriority
getrlimit - getrlimit i:ip __getrlimit getrlimit
getrusage - getrusage i:ip __getrusage getrusage
+getsockname - getsockname i:ibN __getsockname getsockname
+getsockopt - getsockopt i:iiiBN getsockopt
gettimeofday - gettimeofday i:pP __gettimeofday gettimeofday
getuid - getuid Ei: __getuid getuid
ioctl - ioctl i:iiI __ioctl ioctl
kill - kill i:ii __kill kill
link - link i:ss __link link
+listen - listen i:ii __listen listen
lseek - lseek i:iii __libc_lseek __lseek lseek
madvise - madvise i:pii madvise
mkdir - mkdir i:si __mkdir mkdir
@@ -45,14 +54,22 @@
readlink - readlink i:spi __readlink readlink
readv - readv Ci:ipi __readv readv
reboot - reboot i:i reboot
+recv - recv Ci:ibni __libc_recv recv
+recvfrom - recvfrom Ci:ibniBN __libc_recvfrom __recvfrom recvfrom
+recvmsg - recvmsg Ci:ipi __libc_recvmsg __recvmsg recvmsg
rename - rename i:ss rename
rmdir - rmdir i:s __rmdir rmdir
select - select Ci:iPPPP __select __libc_select select
+send - send Ci:ibni __libc_send __send send
+sendmsg - sendmsg Ci:ipi __libc_sendmsg __sendmsg sendmsg
+sendto - sendto Ci:ibnibn __libc_sendto __sendto sendto
setdomain - setdomainname i:si setdomainname
setegid - setegid i:i __setegid setegid
seteuid - seteuid i:i __seteuid seteuid
setgid - setgid i:i __setgid setgid
setgroups - setgroups i:ip setgroups
+sethostid - sethostid i:i sethostid
+sethostname - sethostname i:pi sethostname
setitimer - setitimer i:ipp __setitimer setitimer
setpgid - setpgrp i:ii __setpgid setpgid
setpriority - setpriority i:iii setpriority
@@ -60,10 +77,14 @@
setreuid - setreuid i:ii __setreuid setreuid
setrlimit - setrlimit i:ip __setrlimit setrlimit
setsid - setsid i: __setsid setsid
+setsockopt - setsockopt i:iiibn setsockopt __setsockopt
settimeofday - settimeofday i:PP __settimeofday settimeofday
setuid - setuid i:i __setuid setuid
+shutdown - shutdown i:ii shutdown
sigaction - sigaction i:ipp __sigaction sigaction
sigsuspend - sigsuspend Ci:p sigsuspend
+socket - socket i:iii __socket socket
+socketpair - socketpair i:iiif socketpair
sstk - sstk b:i sstk
statfs - statfs i:sp __statfs statfs
swapoff - swapoff i:s swapoff
Added: fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/param.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/param.h (added)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/bits/param.h Sat Aug 18 00:01:43 2012
@@ -1,0 +1,42 @@
+/* Old-style Unix parameters and limits. Linux version.
+ Copyright (C) 1995-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/>. */
+
+#ifndef _SYS_PARAM_H
+# error "Never use <bits/param.h> directly; include <sys/param.h> instead."
+#endif
+
+#ifndef ARG_MAX
+# define __undef_ARG_MAX
+#endif
+
+#include <linux/limits.h>
+#include <linux/param.h>
+
+/* The kernel headers define ARG_MAX. The value is wrong, though. */
+#ifdef __undef_ARG_MAX
+# undef ARG_MAX
+# undef __undef_ARG_MAX
+#endif
+
+#define MAXSYMLINKS 20
+
+/* The following are not really correct but it is a value we used for a
+ long time and which seems to be usable. People should not use NOFILE
+ and NCARGS anyway. */
+#define NOFILE 256
+#define NCARGS 131072
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/time.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/time.c Sat Aug 18 00:01:43 2012
@@ -1,1 +1,1 @@
-#include <sysdeps/unix/time.c>
+#include <sysdeps/posix/time.c>
Removed: fsf/trunk/libc/sysdeps/unix/sysv/linux/sys/param.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sys/param.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sys/param.h (removed)
@@ -1,82 +1,0 @@
-/* Copyright (C) 1995-1997,2000,2001,2003,2008,2011
- 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/>. */
-
-#ifndef _SYS_PARAM_H
-#define _SYS_PARAM_H 1
-
-#ifndef ARG_MAX
-# define __undef_ARG_MAX
-#endif
-
-#include <limits.h>
-#include <linux/limits.h>
-#include <linux/param.h>
-
-/* The kernel headers defines ARG_MAX. The value is wrong, though. */
-#ifdef __undef_ARG_MAX
-# undef ARG_MAX
-# undef __undef_ARG_MAX
-#endif
-
-/* BSD names for some <limits.h> values. */
-
-#define NBBY CHAR_BIT
-#ifndef NGROUPS
-# define NGROUPS NGROUPS_MAX
-#endif
-#define MAXSYMLINKS 20
-#define CANBSIZ MAX_CANON
-#define MAXPATHLEN PATH_MAX
-/* The following are not really correct but it is a value we used for a
- long time and which seems to be usable. People should not use NOFILE
- and NCARGS anyway. */
-#define NOFILE 256
-#define NCARGS 131072
-
-
-#include <sys/types.h>
-
-/* Bit map related macros. */
-#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
-#define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
-#define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
-#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
-
-/* Macros for counting and rounding. */
-#ifndef howmany
-# define howmany(x, y) (((x) + ((y) - 1)) / (y))
-#endif
-#ifdef __GNUC__
-# define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \
- ? (((x) + (y) - 1) & ~((y) - 1)) \
- : ((((x) + ((y) - 1)) / (y)) * (y)))
-#else
-# define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
-#endif
-#define powerof2(x) ((((x) - 1) & (x)) == 0)
-
-/* Macros for min/max. */
-#define MIN(a,b) (((a)<(b))?(a):(b))
-#define MAX(a,b) (((a)>(b))?(a):(b))
-
-
-/* Unit of `st_blocks'. */
-#define DEV_BSIZE 512
-
-
-#endif /* sys/param.h */
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/time.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/time.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/time.c Sat Aug 18 00:01:43 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2005-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
@@ -37,6 +37,6 @@
#else
-# include <sysdeps/unix/time.c>
+# include <sysdeps/posix/time.c>
#endif
Removed: fsf/trunk/libc/sysdeps/unix/time.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/time.c (original)
+++ fsf/trunk/libc/sysdeps/unix/time.c (removed)
@@ -1,41 +1,0 @@
-/* Copyright (C) 1991,92,97,2001,02 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 <stddef.h> /* For NULL. */
-#include <time.h>
-#include <sys/time.h>
-
-
-/* Return the current time as a `time_t' and also put it in *T if T is
- not NULL. Time is represented as seconds from Jan 1 00:00:00 1970. */
-time_t
-time (t)
- time_t *t;
-{
- struct timeval tv;
- time_t result;
-
- if (__gettimeofday (&tv, (struct timezone *) NULL))
- result = (time_t) -1;
- else
- result = (time_t) tv.tv_sec;
-
- if (t != NULL)
- *t = result;
- return result;
-}
-libc_hidden_def (time)
Removed: fsf/trunk/libc/sysdeps/unix/utime.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/utime.c (original)
+++ fsf/trunk/libc/sysdeps/unix/utime.c (removed)
@@ -1,49 +1,0 @@
-/* Copyright (C) 1991,94,97,2002 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 <sysdep.h>
-#include <errno.h>
-#include <utime.h>
-#include <time.h>
-#include <sys/types.h>
-#include <sys/time.h>
-
-
-/* Set the access and modification times of FILE to those given in TIMES.
- If TIMES is NULL, set them to the current time. */
-int
-utime (file, times)
- const char *file;
- const struct utimbuf *times;
-{
- struct timeval timevals[2];
- struct timeval *tvp;
-
- if (times != NULL)
- {
- timevals[0].tv_sec = (time_t) times->actime;
- timevals[0].tv_usec = 0L;
- timevals[1].tv_sec = (time_t) times->modtime;
- timevals[1].tv_usec = 0L;
- tvp = timevals;
- }
- else
- tvp = NULL;
-
- return __utimes (file, tvp);
-}
-libc_hidden_def (utime)
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits