platform/upstream/glibc.git
14 years agoUpdate constants for current kernels.
Ulrich Drepper [Wed, 3 Feb 2010 14:55:30 +0000 (06:55 -0800)]
Update constants for current kernels.

14 years agoFix endless loop with invalid /etc/shells file.
Ulrich Drepper [Wed, 3 Feb 2010 14:23:31 +0000 (06:23 -0800)]
Fix endless loop with invalid /etc/shells file.

14 years agoAdd missing bz number.
Ulrich Drepper [Wed, 3 Feb 2010 12:05:54 +0000 (04:05 -0800)]
Add missing bz number.

14 years agoFix sorting of malayalam letter 'na'.
Pravin Satpute [Wed, 3 Feb 2010 11:50:01 +0000 (03:50 -0800)]
Fix sorting of malayalam letter 'na'.

14 years agoAdd kok_IN locale.
Pravin Satpute [Wed, 3 Feb 2010 11:47:04 +0000 (03:47 -0800)]
Add kok_IN locale.

14 years agoFix whitespaces.
Ulrich Drepper [Wed, 3 Feb 2010 11:36:52 +0000 (03:36 -0800)]
Fix whitespaces.

14 years agoMove Tamil collation data to common source file.
Pravin Satpute [Wed, 3 Feb 2010 11:32:06 +0000 (03:32 -0800)]
Move Tamil collation data to common source file.

14 years agoUse common collation data in as_IN locale.
Pravin Satpute [Wed, 3 Feb 2010 11:28:19 +0000 (03:28 -0800)]
Use common collation data in as_IN locale.

14 years agoAvoid alloca in setenv for long strings.
Ulrich Drepper [Tue, 2 Feb 2010 17:55:55 +0000 (09:55 -0800)]
Avoid alloca in setenv for long strings.

14 years agoGive Hurd weak aliases for getsysstats get_* functions.
Samuel Thibault [Wed, 27 Jan 2010 01:44:58 +0000 (17:44 -0800)]
Give Hurd weak aliases for getsysstats get_* functions.

14 years agoDon't map U00DF to U1E9E in toupper table.
Andreas Schwab [Mon, 25 Jan 2010 20:01:42 +0000 (12:01 -0800)]
Don't map U00DF to U1E9E in toupper table.

14 years agoFix error checking in iconv.
Andreas Schwab [Mon, 25 Jan 2010 15:17:47 +0000 (07:17 -0800)]
Fix error checking in iconv.

14 years agoAdd BZ number.
Ulrich Drepper [Fri, 22 Jan 2010 20:45:43 +0000 (12:45 -0800)]
Add BZ number.

14 years ago_nl_load_locale() incorrectly handles mmap() failures
Joe Landers [Fri, 22 Jan 2010 20:44:58 +0000 (12:44 -0800)]
_nl_load_locale() incorrectly handles mmap() failures

14 years agoregexec.c: avoid overflow in realloc buffer length computation
Paul Eggert [Fri, 22 Jan 2010 20:41:12 +0000 (12:41 -0800)]
regexec.c: avoid overflow in realloc buffer length computation

14 years agoregexec.c: avoid leaks on out-of-memory failure paths
Paul Eggert [Fri, 22 Jan 2010 20:33:58 +0000 (12:33 -0800)]
regexec.c: avoid leaks on out-of-memory failure paths

14 years agoregexec.c: avoid overflow in computing sum of lengths
Paul Eggert [Fri, 22 Jan 2010 20:22:18 +0000 (12:22 -0800)]
regexec.c: avoid overflow in computing sum of lengths

14 years agore_search_internal: Avoid overflow in computing re_malloc buffer size
Paul Eggert [Fri, 22 Jan 2010 20:15:53 +0000 (12:15 -0800)]
re_search_internal: Avoid overflow in computing re_malloc buffer size

14 years agoprune_impossible_nodes: Avoid overflow in computing re_malloc buffer size
Paul Eggert [Fri, 22 Jan 2010 20:03:56 +0000 (12:03 -0800)]
prune_impossible_nodes: Avoid overflow in computing re_malloc buffer size

14 years agoregexec.c: avoid arithmetic overflow in buffer size calculation
Paul Eggert [Fri, 22 Jan 2010 18:52:38 +0000 (10:52 -0800)]
regexec.c: avoid arithmetic overflow in buffer size calculation

14 years agoregexec.c: simplify re_search_2_stub
Paul Eggert [Fri, 22 Jan 2010 18:39:59 +0000 (10:39 -0800)]
regexec.c: simplify re_search_2_stub

14 years agoSimplify test in re_string_skip_chars.
Ulrich Drepper [Fri, 22 Jan 2010 18:22:53 +0000 (10:22 -0800)]
Simplify test in re_string_skip_chars.

14 years agoregex_internal.c: don't assume WEOF fits in wchar_t
Ulrich Drepper [Fri, 22 Jan 2010 18:17:45 +0000 (10:17 -0800)]
regex_internal.c: don't assume WEOF fits in wchar_t

14 years agoregex_internal.c: remove useless variable and the code to set it.
Ulrich Drepper [Fri, 22 Jan 2010 17:57:30 +0000 (09:57 -0800)]
regex_internal.c: remove useless variable and the code to set it.

14 years agoExtend overflow detection in re_dfa_add_node.
Ulrich Drepper [Fri, 22 Jan 2010 17:48:35 +0000 (09:48 -0800)]
Extend overflow detection in re_dfa_add_node.

14 years agoregex: avoid internal re_realloc overflow
Ulrich Drepper [Fri, 22 Jan 2010 17:33:01 +0000 (09:33 -0800)]
regex: avoid internal re_realloc overflow

14 years agoFix ____longjmp_chk for s390/s390x.
Andreas Schwab [Wed, 20 Jan 2010 15:59:30 +0000 (07:59 -0800)]
Fix ____longjmp_chk for s390/s390x.

14 years agoSupport __memmove_ssse3_rep when SHARED isn't defined.
H.J. Lu [Tue, 19 Jan 2010 20:20:57 +0000 (12:20 -0800)]
Support __memmove_ssse3_rep when SHARED isn't defined.

14 years agoRemove unnecessary returns.
Ulrich Drepper [Tue, 19 Jan 2010 20:04:34 +0000 (12:04 -0800)]
Remove unnecessary returns.

14 years agoDefine __rtld_lock_recursive_* for Hurd.
Samuel Thibault [Mon, 18 Jan 2010 22:44:22 +0000 (14:44 -0800)]
Define __rtld_lock_recursive_* for Hurd.

14 years agoFix whitespace issues.
Ulrich Drepper [Mon, 18 Jan 2010 20:43:47 +0000 (12:43 -0800)]
Fix whitespace issues.

14 years agomemcpy for ppc/cell.
Ulrich Drepper [Mon, 18 Jan 2010 20:40:29 +0000 (12:40 -0800)]
memcpy for ppc/cell.

14 years agoRemove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.
Andreas Schwab [Mon, 18 Jan 2010 16:38:18 +0000 (08:38 -0800)]
Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.

14 years agoUse correct type when casting d_tag.
Andreas Schwab [Mon, 18 Jan 2010 15:24:09 +0000 (07:24 -0800)]
Use correct type when casting d_tag.

14 years agoIgnore negative dynamic entry types.
Andreas Schwab [Mon, 18 Jan 2010 15:23:23 +0000 (07:23 -0800)]
Ignore negative dynamic entry types.

14 years agosysdeps/ieee754/ldbl-128/ fixes
Jakub Jelinek [Sun, 17 Jan 2010 01:55:37 +0000 (17:55 -0800)]
sysdeps/ieee754/ldbl-128/ fixes

14 years agoFix pthread_cond_*wait with requeue-PI on i386.
Michal Schmidt [Sat, 16 Jan 2010 02:09:14 +0000 (18:09 -0800)]
Fix pthread_cond_*wait with requeue-PI on i386.

14 years agoOne forgotten checkin from regex changes.
Ulrich Drepper [Fri, 15 Jan 2010 20:20:55 +0000 (12:20 -0800)]
One forgotten checkin from regex changes.

14 years agoFix a few more cases of ignored return values in regex.
Ulrich Drepper [Fri, 15 Jan 2010 20:03:16 +0000 (12:03 -0800)]
Fix a few more cases of ignored return values in regex.

14 years agoFix _XOPEN_SOURCE_EXTENDED handling.
Ulrich Drepper [Fri, 15 Jan 2010 19:03:44 +0000 (11:03 -0800)]
Fix _XOPEN_SOURCE_EXTENDED handling.

14 years ago/390: Add runtime check for the highgprs kernel feature.
Andreas Krebbel [Fri, 15 Jan 2010 17:10:44 +0000 (09:10 -0800)]
/390: Add runtime check for the highgprs kernel feature.

14 years agold.so: Adjust the auxv if ld.so is directly invoked.
Andreas Krebbel [Fri, 15 Jan 2010 17:09:35 +0000 (09:09 -0800)]
ld.so: Adjust the auxv if ld.so is directly invoked.

If a binary gets invoked by passing it as argument to ld.so the stack
still holds the auxiliary vector of ld.so when entering the _start
routine of the executable.  So the invocation via ld.so is not fully
transparent to the executable.  This causes problems if the executable
wants to scan the auxv itself.

14 years agoUpdate wording for gcc requirement.
Ulrich Drepper [Fri, 15 Jan 2010 08:10:14 +0000 (00:10 -0800)]
Update wording for gcc requirement.

14 years agoDefine IPTOS_CLASS_* macros according to RFC 2474.
Philip Prindeville [Fri, 15 Jan 2010 07:28:05 +0000 (23:28 -0800)]
Define IPTOS_CLASS_* macros according   to RFC 2474.

14 years agoAlways use IPv4 sockets for IPv4 addresses.
Ulrich Drepper [Fri, 15 Jan 2010 06:34:28 +0000 (22:34 -0800)]
Always use IPv4 sockets for IPv4 addresses.

14 years agoregcomp.c: do not ignore memory allocation failure
Paul Eggert [Fri, 15 Jan 2010 05:35:15 +0000 (21:35 -0800)]
regcomp.c: do not ignore memory allocation failure

14 years agoMake unistd.h pre-c((-safe.
Ulrich Drepper [Fri, 15 Jan 2010 01:03:42 +0000 (17:03 -0800)]
Make unistd.h pre-c((-safe.

14 years agoActually define and export pthread_mutexattr_[sg]etrobust.
Ulrich Drepper [Fri, 15 Jan 2010 00:46:32 +0000 (16:46 -0800)]
Actually define and export pthread_mutexattr_[sg]etrobust.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Fri, 15 Jan 2010 00:25:15 +0000 (16:25 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

14 years agoRelax conditions in unistd.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:23:47 +0000 (16:23 -0800)]
Relax conditions in unistd.h.

14 years agoRelax onditions in strings.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:16:21 +0000 (16:16 -0800)]
Relax onditions in strings.h.

14 years agoelax some conditions in stdlib.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:07:58 +0000 (16:07 -0800)]
elax some conditions in stdlib.h.

14 years agoPass $(sysdep-LDFLAGS) when using --print-file-name.
Ryan S. Arnold [Thu, 14 Jan 2010 23:59:02 +0000 (15:59 -0800)]
Pass $(sysdep-LDFLAGS) when using --print-file-name.

14 years agoActually define pthread_mutex_consistent.
Ulrich Drepper [Thu, 14 Jan 2010 23:52:46 +0000 (15:52 -0800)]
Actually define pthread_mutex_consistent.

14 years agoFix malloc_info without prioor allocations.
Ulrich Drepper [Thu, 14 Jan 2010 21:32:58 +0000 (13:32 -0800)]
Fix malloc_info without prioor allocations.

14 years agoRelax visibility of some more declaration.
Ulrich Drepper [Thu, 14 Jan 2010 21:22:06 +0000 (13:22 -0800)]
Relax visibility of some more declaration.

14 years agoRelax condition for resolver constant definition.
Ulrich Drepper [Thu, 14 Jan 2010 18:05:36 +0000 (10:05 -0800)]
Relax condition for resolver constant definition.

14 years agoDeclare getpagesize in _GNU_SOURCE mode again.
Ulrich Drepper [Thu, 14 Jan 2010 17:14:12 +0000 (09:14 -0800)]
Declare getpagesize in _GNU_SOURCE mode again.

14 years agoPrevent silent errors should x86-64 strncmp be needed outside libc.
Ulrich Drepper [Thu, 14 Jan 2010 16:09:32 +0000 (08:09 -0800)]
Prevent silent errors should x86-64 strncmp be needed outside libc.

14 years agoAdd nonnull attribute to unsetenv declaration.
Ulrich Drepper [Thu, 14 Jan 2010 07:06:59 +0000 (23:06 -0800)]
Add nonnull attribute to unsetenv declaration.

14 years agoUnroll the loop x86-64 SSE4.2 strlen.
H.J. Lu [Wed, 13 Jan 2010 15:51:48 +0000 (07:51 -0800)]
Unroll the loop x86-64 SSE4.2 strlen.

14 years agoBe a bit more relaxed about obsoleted mktemp symbol.
Ulrich Drepper [Wed, 13 Jan 2010 15:15:17 +0000 (07:15 -0800)]
Be a bit more relaxed about obsoleted mktemp symbol.

14 years agoMore test suite fixes.
Ulrich Drepper [Wed, 13 Jan 2010 04:11:10 +0000 (20:11 -0800)]
More test suite fixes.

14 years agoFix up grp.h for XPG7.
Ulrich Drepper [Wed, 13 Jan 2010 04:01:46 +0000 (20:01 -0800)]
Fix up grp.h for XPG7.

14 years agoFix up netdb.h for XPG7.
Ulrich Drepper [Wed, 13 Jan 2010 00:43:00 +0000 (16:43 -0800)]
Fix up netdb.h for XPG7.

14 years agoFix thinko in last patch.
Ulrich Drepper [Tue, 12 Jan 2010 20:20:15 +0000 (12:20 -0800)]
Fix thinko in last patch.

14 years agoInternal namespace test improvements.
Ulrich Drepper [Tue, 12 Jan 2010 20:18:08 +0000 (12:18 -0800)]
Internal namespace test improvements.

14 years agoFix up pthread.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 20:13:04 +0000 (12:13 -0800)]
Fix up pthread.h for XPG7.

14 years agoFix up sched.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 19:48:45 +0000 (11:48 -0800)]
Fix up sched.h for XPG7.

14 years agoFix whitespace problems.
Ulrich Drepper [Tue, 12 Jan 2010 19:28:17 +0000 (11:28 -0800)]
Fix whitespace problems.

14 years agoOptimize 32bit memset/memcpy with SSE2/SSSE3.
H.J. Lu [Tue, 12 Jan 2010 19:22:03 +0000 (11:22 -0800)]
Optimize 32bit memset/memcpy with SSE2/SSSE3.

14 years agoFix up sys/select.h test for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 15:49:10 +0000 (07:49 -0800)]
Fix up sys/select.h test for XPG7.

14 years agoFix compile error with sys/wait.h.
Jakub Jelinek [Tue, 12 Jan 2010 13:41:52 +0000 (05:41 -0800)]
Fix compile error with sys/wait.h.

14 years agoFix up sys/stat.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 05:11:29 +0000 (21:11 -0800)]
Fix up sys/stat.h for XPG7.

14 years agoFix up termios.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 05:00:23 +0000 (21:00 -0800)]
Fix up termios.h for XPG7.

14 years agoFix up tests of math.h and tgmath.h for XPG[67].
Ulrich Drepper [Tue, 12 Jan 2010 04:54:12 +0000 (20:54 -0800)]
Fix up tests of math.h and tgmath.h for XPG[67].

14 years agoFix time.h POSIX test.
Ulrich Drepper [Tue, 12 Jan 2010 04:12:53 +0000 (20:12 -0800)]
Fix time.h POSIX test.

14 years agoFix up wchar.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 04:07:47 +0000 (20:07 -0800)]
Fix up wchar.h for XPG7.

14 years agoFix typo in wordexp.h tests.
Ulrich Drepper [Tue, 12 Jan 2010 03:06:15 +0000 (19:06 -0800)]
Fix typo in wordexp.h tests.

14 years agoFix up unistd.h tests.
Ulrich Drepper [Tue, 12 Jan 2010 02:37:42 +0000 (18:37 -0800)]
Fix up unistd.h tests.

14 years agoFix handling symbols removed in XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 22:49:17 +0000 (14:49 -0800)]
Fix handling symbols removed in XPG7.

14 years agoFix up unistd.h for XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 22:43:46 +0000 (14:43 -0800)]
Fix up unistd.h for XPG7.

14 years agoFix double-inclusion problem of bits/stat.h.
Ulrich Drepper [Mon, 11 Jan 2010 19:03:27 +0000 (11:03 -0800)]
Fix double-inclusion problem of bits/stat.h.

14 years agoFix compile error.
Ulrich Drepper [Mon, 11 Jan 2010 11:41:22 +0000 (03:41 -0800)]
Fix compile error.

14 years agoFIx up signal.h for XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 02:43:30 +0000 (18:43 -0800)]
FIx up signal.h for XPG7.

14 years agoFix up sys/wait.h header for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 19:06:06 +0000 (11:06 -0800)]
Fix up sys/wait.h header for XPG7.

14 years agoFix up sys/types.h for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 15:16:54 +0000 (07:16 -0800)]
Fix up sys/types.h for XPG7.

Also fix a test.

14 years agoFix glob.h for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 14:37:41 +0000 (06:37 -0800)]
Fix glob.h for XPG7.

14 years agoCleanup strings.h.
Ulrich Drepper [Sun, 10 Jan 2010 10:08:32 +0000 (02:08 -0800)]
Cleanup strings.h.

Cleanup the strings.h header for XPG7 and update the tests.

14 years agoMissing CLs.
Ulrich Drepper [Sun, 10 Jan 2010 08:46:27 +0000 (00:46 -0800)]
Missing CLs.

14 years agoFix standalone stdio.h inclusion.
Ulrich Drepper [Sun, 10 Jan 2010 08:39:22 +0000 (00:39 -0800)]
Fix standalone stdio.h inclusion.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Sat, 9 Jan 2010 18:59:13 +0000 (10:59 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

14 years agoAdd support for XPG7 testing.
Ulrich Drepper [Sat, 9 Jan 2010 18:56:41 +0000 (10:56 -0800)]
Add support for XPG7 testing.

The header conformance testing code needed extending for XPG7.  This
exposed a few bugs in the headers.  There are more changes to come.

14 years agoAdd new ELF constant PN_XNUM.
Roland McGrath [Fri, 8 Jan 2010 02:48:32 +0000 (18:48 -0800)]
Add new ELF constant PN_XNUM.

14 years agoUse NT_GNU_HWCAP instead of literal 2.
Roland McGrath [Thu, 7 Jan 2010 23:42:52 +0000 (15:42 -0800)]
Use NT_GNU_HWCAP instead of literal 2.

14 years agoFix typo in feature selection macro use.
Ulrich Drepper [Thu, 7 Jan 2010 06:47:31 +0000 (22:47 -0800)]
Fix typo in feature selection macro use.

14 years agoFix up ChangeLog.
Ulrich Drepper [Fri, 25 Dec 2009 17:49:07 +0000 (09:49 -0800)]
Fix up ChangeLog.

14 years agoRemove tst-sigcontext test.
Ulrich Drepper [Thu, 24 Dec 2009 21:34:05 +0000 (13:34 -0800)]
Remove tst-sigcontext test.

It's bogus in many places.

14 years agoAdditional setcontext(), etc. conformance tests.
Maciej W. Rozycki [Thu, 24 Dec 2009 21:22:33 +0000 (13:22 -0800)]
Additional setcontext(), etc. conformance tests.

14 years agoEnable multiarch whenever possible.
H.J. Lu [Thu, 24 Dec 2009 04:22:46 +0000 (20:22 -0800)]
Enable multiarch whenever possible.