platform/upstream/glibc.git
12 years agoFix division by denominator with more than two limbs in strtold
Andreas Schwab [Wed, 21 Dec 2011 22:32:10 +0000 (23:32 +0100)]
Fix division by denominator with more than two limbs in strtold

12 years agoDefine x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES.
Rafael Ávila de Espíndola [Wed, 21 Dec 2011 21:27:09 +0000 (13:27 -0800)]
Define x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES.

12 years agoFix extension of array in extended printf format handling
Ulrich Drepper [Sun, 18 Dec 2011 02:27:25 +0000 (21:27 -0500)]
Fix extension of array in extended printf format handling

12 years agoOptimized strcasecmp for Power7
Adhemerval Zanella [Sun, 18 Dec 2011 01:32:59 +0000 (20:32 -0500)]
Optimized strcasecmp for Power7

12 years agoAdd BZ number
Ulrich Drepper [Sun, 18 Dec 2011 01:26:00 +0000 (20:26 -0500)]
Add BZ number

12 years agoAvoid warnings in __*_finite math function declarations with C++
Marek Polacek [Sun, 18 Dec 2011 01:23:16 +0000 (20:23 -0500)]
Avoid warnings in __*_finite math function declarations with C++

12 years agoCheck values from TZ file header
Ulrich Drepper [Sun, 18 Dec 2011 01:18:42 +0000 (20:18 -0500)]
Check values from TZ file header

12 years agoFix WP
Ulrich Drepper [Sat, 17 Dec 2011 20:08:09 +0000 (15:08 -0500)]
Fix WP

12 years agoSimplify code for accessing powerpc GOT
Will Schmidt [Sat, 17 Dec 2011 20:07:31 +0000 (15:07 -0500)]
Simplify code for accessing powerpc GOT

12 years agoOptimized nearbyint for PPC
Adhemerval Zanella [Sat, 17 Dec 2011 19:59:47 +0000 (14:59 -0500)]
Optimized nearbyint for PPC

12 years agoOpen /etc/resolv.conf with FD_CLOEXEC
Ross Lagerwall [Sat, 17 Dec 2011 19:43:40 +0000 (14:43 -0500)]
Open /etc/resolv.conf with FD_CLOEXEC

12 years agoWP fixes
Ulrich Drepper [Sat, 17 Dec 2011 19:41:05 +0000 (14:41 -0500)]
WP fixes

12 years agoWP fixes
Ulrich Drepper [Sat, 17 Dec 2011 19:40:33 +0000 (14:40 -0500)]
WP fixes

12 years agoOptimized wcschr and wcscpy for x86-64 and x86-32
Ulrich Drepper [Sat, 17 Dec 2011 19:39:23 +0000 (14:39 -0500)]
Optimized wcschr and wcscpy for x86-64 and x86-32

12 years agoWP cleanup
Ulrich Drepper [Sat, 17 Dec 2011 19:27:26 +0000 (14:27 -0500)]
WP cleanup

12 years agoFix WP
Ulrich Drepper [Sat, 17 Dec 2011 19:19:26 +0000 (14:19 -0500)]
Fix WP

12 years agoAdd tests for wcsrchr and wcscpy
Ulrich Drepper [Sat, 17 Dec 2011 19:14:58 +0000 (14:14 -0500)]
Add tests for wcsrchr and wcscpy

12 years agoReturn errno on failure in allocate_stack
Carlos O'Donell [Thu, 15 Dec 2011 02:32:11 +0000 (21:32 -0500)]
Return errno on failure in allocate_stack

In cases where a function call fails return
errno and allow the caller to fixup the return
code as required by their API.

12 years agoBZ #5245: pthread_create returns EAGAIN for stack allocation failure, not ENOMEM.
Jeff Law [Wed, 14 Dec 2011 21:14:56 +0000 (13:14 -0800)]
BZ #5245: pthread_create returns EAGAIN for stack allocation failure, not ENOMEM.

12 years agoManual typo fix for _SC_NPROCESSORS_ONLN.
Jeff Law [Wed, 14 Dec 2011 20:52:16 +0000 (12:52 -0800)]
Manual typo fix for _SC_NPROCESSORS_ONLN.

12 years agoOptimize generic ELF hash function a bit more
Ulrich Drepper [Sat, 10 Dec 2011 16:53:44 +0000 (11:53 -0500)]
Optimize generic ELF hash function a bit more

12 years agoFix a wrong constant in powerpc hypot implementation
Andreas Schwab [Tue, 6 Dec 2011 10:10:06 +0000 (11:10 +0100)]
Fix a wrong constant in powerpc hypot implementation

12 years agoSmall optimization of generic ELF hash function
Ulrich Drepper [Sun, 4 Dec 2011 22:44:33 +0000 (17:44 -0500)]
Small optimization of generic ELF hash function

12 years agoFix attreibute for _dl_elf_hash
Ulrich Drepper [Sun, 4 Dec 2011 21:12:20 +0000 (16:12 -0500)]
Fix attreibute for _dl_elf_hash

12 years agoFix aliasing issues in RPC code
Ulrich Drepper [Sun, 4 Dec 2011 18:20:06 +0000 (13:20 -0500)]
Fix aliasing issues in RPC code

12 years agoFix more warnings
Ulrich Drepper [Sun, 4 Dec 2011 02:49:35 +0000 (21:49 -0500)]
Fix more warnings

12 years agoFix comment in mcheck.h
Ulrich Drepper [Sat, 3 Dec 2011 12:14:40 +0000 (07:14 -0500)]
Fix comment in mcheck.h

12 years agoRemove aliasing problems in NIS code
Ulrich Drepper [Sat, 3 Dec 2011 02:13:10 +0000 (21:13 -0500)]
Remove aliasing problems in NIS code

12 years agoAvoid warning in aicache.c
Ulrich Drepper [Sat, 3 Dec 2011 02:05:19 +0000 (21:05 -0500)]
Avoid warning in aicache.c

12 years agoSH atomic asms fix for gcc 4.7
Ulrich Drepper [Fri, 2 Dec 2011 13:19:50 +0000 (08:19 -0500)]
SH atomic asms fix for gcc 4.7

12 years agoImplement SH backtrace using IA64 version
Ulrich Drepper [Fri, 2 Dec 2011 12:35:33 +0000 (07:35 -0500)]
Implement SH backtrace using IA64 version

12 years agoFix CL
Ulrich Drepper [Fri, 2 Dec 2011 12:34:19 +0000 (07:34 -0500)]
Fix CL

12 years agoMark fortified __FD_ELT as extension
Andreas Schwab [Fri, 2 Dec 2011 10:34:28 +0000 (11:34 +0100)]
Mark fortified __FD_ELT as extension

12 years agoTruncate time values in Linux futimes when falling back to utime
Andreas Schwab [Thu, 1 Dec 2011 12:27:53 +0000 (13:27 +0100)]
Truncate time values in Linux futimes when falling back to utime

12 years agoAdjust libm test ulps for s390
Andreas Schwab [Wed, 30 Nov 2011 13:12:19 +0000 (14:12 +0100)]
Adjust libm test ulps for s390

12 years agoFix access after end of search string in regex matcher
Andreas Schwab [Tue, 29 Nov 2011 09:52:22 +0000 (10:52 +0100)]
Fix access after end of search string in regex matcher

12 years agoHandle EAGAIN from FUTEX_WAIT_REQUEUE_PI
Andreas Schwab [Mon, 28 Nov 2011 12:38:19 +0000 (13:38 +0100)]
Handle EAGAIN from FUTEX_WAIT_REQUEUE_PI

12 years agoRemove handling of VCs other then git
Ulrich Drepper [Thu, 17 Nov 2011 17:33:33 +0000 (12:33 -0500)]
Remove handling of VCs other then git

12 years agoFix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg...
Andreas Schwab [Wed, 16 Nov 2011 08:36:15 +0000 (09:36 +0100)]
Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs

12 years agoUse O_CLOEXEC in a few more places
Ulrich Drepper [Tue, 15 Nov 2011 19:00:58 +0000 (14:00 -0500)]
Use O_CLOEXEC in a few more places

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 15 Nov 2011 18:29:11 +0000 (13:29 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
sysdeps/unix/sysv/linux/clock_gettime.c

12 years agoFix clock_gettime for assumed kernel >= 2.6.12
Andreas Schwab [Tue, 15 Nov 2011 14:04:26 +0000 (15:04 +0100)]
Fix clock_gettime for assumed kernel >= 2.6.12

12 years agoFix Linux SYSDEP_GETTIME_CPU for newer kernels
Ulrich Drepper [Tue, 15 Nov 2011 12:31:33 +0000 (07:31 -0500)]
Fix Linux SYSDEP_GETTIME_CPU for newer kernels

12 years agoPretty printing
Ulrich Drepper [Tue, 15 Nov 2011 12:18:15 +0000 (07:18 -0500)]
Pretty printing

12 years agoFix reference counting in network interface information cache
Andreas Schwab [Tue, 15 Nov 2011 09:32:18 +0000 (10:32 +0100)]
Fix reference counting in network interface information cache

12 years agoClean up internal fopen uses
Ulrich Drepper [Tue, 15 Nov 2011 09:24:42 +0000 (04:24 -0500)]
Clean up internal fopen uses

No need to ever not use c and e.

12 years agoUse O_CLOEXEC in tzfile handling
Ulrich Drepper [Mon, 14 Nov 2011 23:46:46 +0000 (18:46 -0500)]
Use O_CLOEXEC in tzfile handling

12 years agoUpdate NEWS
Ulrich Drepper [Mon, 14 Nov 2011 23:44:00 +0000 (18:44 -0500)]
Update NEWS

12 years agoMerge branch 'x32-strcase'
Ulrich Drepper [Mon, 14 Nov 2011 23:39:05 +0000 (18:39 -0500)]
Merge branch 'x32-strcase'

Conflicts:
ChangeLog

12 years agoAdd SSE4.2 support for strcasecmp and strncasecmp on x86-32
Ulrich Drepper [Mon, 14 Nov 2011 23:24:35 +0000 (18:24 -0500)]
Add SSE4.2 support for strcasecmp and strncasecmp on x86-32

12 years agoDon't call reused_arena when _int_new_arena failed
Andreas Schwab [Mon, 14 Nov 2011 10:41:52 +0000 (11:41 +0100)]
Don't call reused_arena when _int_new_arena failed

12 years agoSSSE3 optimized strcasecmp and strncasecmp for x86-32
Ulrich Drepper [Sun, 13 Nov 2011 14:50:13 +0000 (09:50 -0500)]
SSSE3 optimized strcasecmp and strncasecmp for x86-32

12 years agoFix wanings in clock_gettime
Ulrich Drepper [Sat, 12 Nov 2011 07:54:34 +0000 (02:54 -0500)]
Fix wanings in clock_gettime

12 years agoAvoid unused warning in getaddrinfo_a
Ulrich Drepper [Sat, 12 Nov 2011 07:30:01 +0000 (02:30 -0500)]
Avoid unused warning in getaddrinfo_a

12 years agoAvoid warnings about unused variable in 96-bit j0l and j1l
Ulrich Drepper [Sat, 12 Nov 2011 07:20:29 +0000 (02:20 -0500)]
Avoid warnings about unused variable in 96-bit j0l and j1l

12 years agoAvoid warnings about unused variables in 96-bit hypotl
Ulrich Drepper [Sat, 12 Nov 2011 07:15:07 +0000 (02:15 -0500)]
Avoid warnings about unused variables in 96-bit hypotl

12 years agoPrepare dwarf2.h for multiple inclusion
Ulrich Drepper [Sat, 12 Nov 2011 07:11:48 +0000 (02:11 -0500)]
Prepare dwarf2.h for multiple inclusion

12 years agoFix incomplete edit in last patch
Ulrich Drepper [Sat, 12 Nov 2011 07:10:45 +0000 (02:10 -0500)]
Fix incomplete edit in last patch

12 years agoAvoid redefinition of DWARF constants
Ulrich Drepper [Sat, 12 Nov 2011 07:06:05 +0000 (02:06 -0500)]
Avoid redefinition of DWARF constants

12 years agoFix warning in __dl_iterate_phdr
Ulrich Drepper [Sat, 12 Nov 2011 06:49:14 +0000 (01:49 -0500)]
Fix warning in __dl_iterate_phdr

12 years agoFix case value used in RPC cod
Ulrich Drepper [Sat, 12 Nov 2011 06:41:05 +0000 (01:41 -0500)]
Fix case value used in RPC cod

12 years agoAvoid warning from shifting
Ulrich Drepper [Sat, 12 Nov 2011 06:31:29 +0000 (01:31 -0500)]
Avoid warning from shifting

12 years agoFix warnings in regex
Ulrich Drepper [Sat, 12 Nov 2011 06:23:45 +0000 (01:23 -0500)]
Fix warnings in regex

12 years agoFix warnings in fallback C code of x86-32 wide memory functions
Ulrich Drepper [Sat, 12 Nov 2011 05:50:26 +0000 (00:50 -0500)]
Fix warnings in fallback C code of x86-32 wide memory functions

12 years agoFix warning in nis_table
Ulrich Drepper [Sat, 12 Nov 2011 05:18:19 +0000 (00:18 -0500)]
Fix warning in nis_table

12 years agoPowerPC: Arithmetic function optimizations for POWER
Adhemerval Zanella [Fri, 11 Nov 2011 18:33:38 +0000 (13:33 -0500)]
PowerPC: Arithmetic function optimizations for POWER

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 11 Nov 2011 18:29:12 +0000 (13:29 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoRemove unused variables
Marek Polacek [Fri, 11 Nov 2011 18:27:59 +0000 (13:27 -0500)]
Remove unused variables

12 years agoFix __readlink declaration.
Roland McGrath [Fri, 11 Nov 2011 18:02:42 +0000 (10:02 -0800)]
Fix __readlink declaration.

12 years agomakecontext doens't need __THROWNL
Ulrich Drepper [Fri, 11 Nov 2011 17:57:31 +0000 (12:57 -0500)]
makecontext doens't need __THROWNL

12 years agoFix grouping and reuse other locales in various locales
Ulrich Drepper [Fri, 11 Nov 2011 16:25:45 +0000 (11:25 -0500)]
Fix grouping and reuse other locales in various locales

12 years agoFix db makefile rule for group.db
Andreas Schwab [Fri, 11 Nov 2011 13:43:36 +0000 (14:43 +0100)]
Fix db makefile rule for group.db

12 years agoMark setjmp and ucontext functions as non-leaf
Andreas Schwab [Fri, 11 Nov 2011 09:29:08 +0000 (10:29 +0100)]
Mark setjmp and ucontext functions as non-leaf

12 years agoCheck malloc arana limit atomically
Andreas Schwab [Wed, 9 Nov 2011 16:14:39 +0000 (17:14 +0100)]
Check malloc arana limit atomically

12 years agoUse strcasecmp_l instead of strcasecmp
Ulrich Drepper [Tue, 8 Nov 2011 14:26:08 +0000 (09:26 -0500)]
Use strcasecmp_l instead of strcasecmp

12 years agoRemove unnecessary code from x86-32 SSSE3 strncmp
Ulrich Drepper [Tue, 8 Nov 2011 12:50:20 +0000 (07:50 -0500)]
Remove unnecessary code from x86-32 SSSE3 strncmp

12 years agoFix locking in _IO_flush_all_lockp
Andreas Schwab [Mon, 7 Nov 2011 14:07:31 +0000 (15:07 +0100)]
Fix locking in _IO_flush_all_lockp

12 years agoFix buffer allocation in files initgroups handler
Andreas Schwab [Mon, 7 Nov 2011 10:43:13 +0000 (11:43 +0100)]
Fix buffer allocation in files initgroups handler

13 years agoAlways provide declarations of long double math functions when !_LIBC
Andreas Schwab [Fri, 4 Nov 2011 13:39:05 +0000 (14:39 +0100)]
Always provide declarations of long double math functions when !_LIBC

13 years agoFix off-by-one when reading link name in sprof
Andreas Schwab [Fri, 4 Nov 2011 09:21:15 +0000 (10:21 +0100)]
Fix off-by-one when reading link name in sprof

13 years agoDon't start AVC thread until credentials are installed
Andreas Schwab [Fri, 2 Sep 2011 09:13:39 +0000 (11:13 +0200)]
Don't start AVC thread until credentials are installed

13 years agoDon't fail in makedb if SELinux is disabled
Andreas Schwab [Thu, 3 Nov 2011 13:26:38 +0000 (14:26 +0100)]
Don't fail in makedb if SELinux is disabled

13 years agoFix _IOT_sgttyb definition.
Samuel Thibault [Wed, 2 Nov 2011 16:27:34 +0000 (09:27 -0700)]
Fix _IOT_sgttyb definition.

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 2 Nov 2011 02:24:49 +0000 (22:24 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoFix test of non-ASCII locales in x86-64 strcasecmp et.al.
Ulrich Drepper [Tue, 1 Nov 2011 20:46:23 +0000 (16:46 -0400)]
Fix test of non-ASCII locales in x86-64 strcasecmp et.al.

13 years agoAccount for alloca size rounding in extend_alloca
Andreas Schwab [Tue, 1 Nov 2011 17:05:31 +0000 (18:05 +0100)]
Account for alloca size rounding in extend_alloca

13 years agoIgnore libaudit.h when checking for system header use
Andreas Schwab [Tue, 1 Nov 2011 09:49:13 +0000 (10:49 +0100)]
Ignore libaudit.h when checking for system header use

13 years agoProperly set extra-objs in nscd makefile
Andreas Schwab [Tue, 1 Nov 2011 09:40:53 +0000 (10:40 +0100)]
Properly set extra-objs in nscd makefile

13 years agoFix tst-rfc3484 build failures
Ulrich Drepper [Tue, 1 Nov 2011 14:55:29 +0000 (10:55 -0400)]
Fix tst-rfc3484 build failures

13 years agounsigned long it better for the size arguments
Ulrich Drepper [Tue, 1 Nov 2011 14:38:00 +0000 (10:38 -0400)]
unsigned long it better for the size arguments

The new syscalls should use unsigned long not size_t.  The parameters
are not a direct measure of memory size.

13 years agoNew Linux syscalls process_vm_readv and process_vm_writev
Ulrich Drepper [Tue, 1 Nov 2011 13:59:32 +0000 (09:59 -0400)]
New Linux syscalls process_vm_readv and process_vm_writev

13 years agoUse kernel headers for netlink definitions
Ulrich Drepper [Tue, 1 Nov 2011 12:43:33 +0000 (08:43 -0400)]
Use kernel headers for netlink definitions

13 years agoUse extend_alloca in _dl_map_object_deps.
Paul Pluzhnikov [Mon, 31 Oct 2011 23:27:54 +0000 (16:27 -0700)]
Use extend_alloca in _dl_map_object_deps.

13 years agoUnify getent output for initgroups database
Ulrich Drepper [Mon, 31 Oct 2011 20:48:45 +0000 (16:48 -0400)]
Unify getent output for initgroups database

Requests for other fail if iteration is not supported and no parameters
are given.  Do this for initgroups as well.

13 years agoFix typo in CL
Ulrich Drepper [Mon, 31 Oct 2011 13:18:21 +0000 (09:18 -0400)]
Fix typo in CL

13 years agoCache network interface information
Ulrich Drepper [Mon, 31 Oct 2011 05:51:16 +0000 (01:51 -0400)]
Cache network interface information

Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time.  The
problem is that this information can change at any time.

The patch implements monitoring of the network interfaces through
nscd.  If no change is detected the previously read information can
be reused (which is the norm).  This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.

13 years agoFix potential double close in __check_fd if OOM
Ulrich Drepper [Sun, 30 Oct 2011 18:22:57 +0000 (14:22 -0400)]
Fix potential double close in __check_fd if OOM

13 years agoAdd bug number
Ulrich Drepper [Sat, 29 Oct 2011 20:39:47 +0000 (16:39 -0400)]
Add bug number

13 years agoAvoid assertion in processes with VM in bad shape
Ulrich Drepper [Sat, 29 Oct 2011 20:39:03 +0000 (16:39 -0400)]
Avoid assertion in processes with VM in bad shape

13 years agoMark a few more functions with __THROWNL.
Ulrich Drepper [Sat, 29 Oct 2011 19:56:44 +0000 (15:56 -0400)]
Mark a few more functions with __THROWNL.