platform/upstream/glibc.git
13 years agoImplement scandirat function
Ulrich Drepper [Tue, 9 Aug 2011 13:57:55 +0000 (09:57 -0400)]
Implement scandirat function

13 years agoAvoid multiple definitions of identical scandir cancellation handler
Ulrich Drepper [Mon, 8 Aug 2011 17:49:37 +0000 (13:49 -0400)]
Avoid multiple definitions of identical scandir cancellation handler

13 years agoProvide better output in string tests
Ulrich Drepper [Thu, 4 Aug 2011 21:47:24 +0000 (17:47 -0400)]
Provide better output in string tests

If IMPL is called with a macro for the first parameter the macro does not
get expanded before the string is stored in the impl_t data structure.

13 years agoCleanup wcscmp test addition
Ulrich Drepper [Thu, 4 Aug 2011 21:43:30 +0000 (17:43 -0400)]
Cleanup wcscmp test addition

13 years agoNew comprehensive test for wcscmp
Liubov Dmitrieva [Thu, 4 Aug 2011 20:04:15 +0000 (16:04 -0400)]
New comprehensive test for wcscmp

13 years agoProperly tokenize nameserver line for servers with IPv6 address
Andreas Schwab [Thu, 4 Aug 2011 19:50:48 +0000 (15:50 -0400)]
Properly tokenize nameserver line for servers with IPv6 address

13 years agoFix encoding name for IDN in getaddrinfo
Andreas Schwab [Thu, 4 Aug 2011 19:42:10 +0000 (15:42 -0400)]
Fix encoding name for IDN in getaddrinfo

13 years agoFix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architectures
Jakub Jelinek [Thu, 4 Aug 2011 19:40:16 +0000 (15:40 -0400)]
Fix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architectures

13 years agoFix whitespaces
Ulrich Drepper [Thu, 4 Aug 2011 19:38:35 +0000 (15:38 -0400)]
Fix whitespaces

13 years agoImprove x86-32 strcat functions with SSE2/SSSE3
Liubov Dmitrieva [Thu, 4 Aug 2011 19:33:38 +0000 (15:33 -0400)]
Improve x86-32 strcat functions with SSE2/SSSE3

13 years agoFix inline strncat/strncmp on x86
Andreas Schwab [Thu, 4 Aug 2011 18:59:25 +0000 (14:59 -0400)]
Fix inline strncat/strncmp on x86

13 years agoDefine SEEK_DATA and SEEK_HOLE
Ulrich Drepper [Sun, 24 Jul 2011 01:45:57 +0000 (21:45 -0400)]
Define SEEK_DATA and SEEK_HOLE

13 years agoDefine AF_NFC and PF_NFC
Ulrich Drepper [Sun, 24 Jul 2011 00:06:48 +0000 (20:06 -0400)]
Define AF_NFC and PF_NFC

13 years agoUpdate ptrace constants
Ulrich Drepper [Sat, 23 Jul 2011 23:10:18 +0000 (19:10 -0400)]
Update ptrace constants

13 years agoAdjust test for correct installation
Ulrich Drepper [Sat, 23 Jul 2011 19:28:31 +0000 (15:28 -0400)]
Adjust test for correct installation

13 years agoOne more typo in AVX test
Ulrich Drepper [Sat, 23 Jul 2011 19:18:13 +0000 (15:18 -0400)]
One more typo in AVX test

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 23 Jul 2011 04:04:15 +0000 (00:04 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoAdd read barriers in cancellation initialization
Ulrich Drepper [Sat, 23 Jul 2011 03:48:22 +0000 (23:48 -0400)]
Add read barriers in cancellation initialization

13 years agoOne more change to XSAVE patch
Ulrich Drepper [Sat, 23 Jul 2011 03:33:22 +0000 (23:33 -0400)]
One more change to XSAVE patch

13 years agoOptimize __init_des_r
Ulrich Drepper [Sat, 23 Jul 2011 03:25:40 +0000 (23:25 -0400)]
Optimize __init_des_r

13 years agoAdd read barrier protecting DES initialization
Ulrich Drepper [Sat, 23 Jul 2011 03:19:30 +0000 (23:19 -0400)]
Add read barrier protecting DES initialization

13 years agoFix AVX check
Andreas Schwab [Fri, 22 Jul 2011 18:33:47 +0000 (14:33 -0400)]
Fix AVX check

13 years agoFix overflow bug is optimized strncat for x86-64
Ulrich Drepper [Thu, 21 Jul 2011 16:32:36 +0000 (12:32 -0400)]
Fix overflow bug is optimized strncat for x86-64

13 years agoAdd more tests for strcat and strncat.
Ulrich Drepper [Thu, 21 Jul 2011 10:56:25 +0000 (06:56 -0400)]
Add more tests for strcat and strncat.

13 years agoCheck for overflows in expressions
Ulrich Drepper [Thu, 21 Jul 2011 02:53:58 +0000 (22:53 -0400)]
Check for overflows in expressions

Some passed in values might cause overflows in expressions.

13 years agoFix check for AVX enablement
Ulrich Drepper [Thu, 21 Jul 2011 01:21:03 +0000 (21:21 -0400)]
Fix check for AVX enablement

The AVX bit is set if the CPU supports AVX.  But this doesn't mean the
kernel does.  Add checks according to Intel's documentation.

13 years agoForce :a_x86_64_ymm to be 16-byte aligned
Ulrich Drepper [Wed, 20 Jul 2011 18:20:00 +0000 (14:20 -0400)]
Force :a_x86_64_ymm to be 16-byte aligned

13 years agoFix missing include
Andreas Schwab [Wed, 20 Jul 2011 18:12:57 +0000 (14:12 -0400)]
Fix missing include

13 years agoUpdated translations.
Ulrich Drepper [Wed, 20 Jul 2011 16:38:14 +0000 (12:38 -0400)]
Updated translations.

13 years agoAdd const attr to gnu_dev_{major,minor,makedev}
Marek Polacek [Wed, 20 Jul 2011 16:35:29 +0000 (12:35 -0400)]
Add const attr to gnu_dev_{major,minor,makedev}

13 years agodcigettext.c: Add missing bracket
Marek Polacek [Wed, 20 Jul 2011 16:21:52 +0000 (12:21 -0400)]
dcigettext.c: Add missing bracket

13 years agoUse size_t for strlen results
Andreas Schwab [Wed, 20 Jul 2011 15:40:37 +0000 (11:40 -0400)]
Use size_t for strlen results

13 years agoFix for description of cross reference in manual
Andreas Jaeger [Wed, 20 Jul 2011 00:41:44 +0000 (20:41 -0400)]
Fix for description of cross reference in manual

13 years agoCorrect feature announcement
Ulrich Drepper [Wed, 20 Jul 2011 00:29:53 +0000 (20:29 -0400)]
Correct feature announcement

13 years agoS/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro
Andreas Krebbel [Wed, 20 Jul 2011 00:29:27 +0000 (20:29 -0400)]
S/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro

13 years ago_dl_sort_fini: Remove unused argument
Marek Polacek [Wed, 20 Jul 2011 00:27:43 +0000 (20:27 -0400)]
_dl_sort_fini: Remove unused argument

13 years agoelf/cache.c: Remove unnecessary condition
Marek Polacek [Wed, 20 Jul 2011 00:17:51 +0000 (20:17 -0400)]
elf/cache.c: Remove unnecessary condition

13 years agoAvoid warning in nscd config file parsing code
Marek Polacek [Wed, 20 Jul 2011 00:13:31 +0000 (20:13 -0400)]
Avoid warning in nscd config file parsing code

13 years agoFix whitespaces
Ulrich Drepper [Tue, 19 Jul 2011 21:27:09 +0000 (17:27 -0400)]
Fix whitespaces

13 years agoImprove 64 bit strcat functions with SSE2/SSSE3
Liubov Dmitrieva [Tue, 19 Jul 2011 21:11:54 +0000 (17:11 -0400)]
Improve 64 bit strcat functions with SSE2/SSSE3

13 years agoUse union to avoid casts in code to store results of hashsum computations
Ulrich Drepper [Tue, 19 Jul 2011 20:53:43 +0000 (16:53 -0400)]
Use union to avoid casts in code to store results of hashsum computations

13 years agoFix alloca accounting in strxfm
Andreas Schwab [Tue, 19 Jul 2011 19:03:57 +0000 (15:03 -0400)]
Fix alloca accounting in strxfm

13 years agoAvoid possible crashes in anormal nscd exits
Ulrich Drepper [Tue, 19 Jul 2011 17:59:57 +0000 (13:59 -0400)]
Avoid possible crashes in anormal nscd exits

13 years agoFix typos in pretty much unused code in sched.h header.
Ulrich Drepper [Tue, 19 Jul 2011 00:19:14 +0000 (20:19 -0400)]
Fix typos in pretty much unused code in sched.h header.

13 years agoUpdated Swedish and Dutch translations.
Ulrich Drepper [Tue, 19 Jul 2011 00:13:01 +0000 (20:13 -0400)]
Updated Swedish and Dutch translations.

13 years agoNever use -mpreferred-stack-boundary=2 on i386, now disallowed by GCC.
Roland McGrath [Sat, 16 Jul 2011 10:10:06 +0000 (03:10 -0700)]
Never use -mpreferred-stack-boundary=2 on i386, now disallowed by GCC.

13 years agoDefault to --with-default-link=yes if configure check finds good -shared layout.
Roland McGrath [Sat, 11 Jun 2011 12:14:37 +0000 (05:14 -0700)]
Default to --with-default-link=yes if configure check finds good -shared layout.

13 years agoUse linker --print-output-format option if available.
Roland McGrath [Sat, 11 Jun 2011 07:45:12 +0000 (00:45 -0700)]
Use linker --print-output-format option if available.

13 years agoFix remaining explicit uses of shlib.lds to use $(shlib-lds).
Roland McGrath [Fri, 15 Jul 2011 03:49:27 +0000 (20:49 -0700)]
Fix remaining explicit uses of shlib.lds to use $(shlib-lds).

13 years agoQuash a warning in strstr-c.c built for static.
Roland McGrath [Fri, 15 Jul 2011 03:47:54 +0000 (20:47 -0700)]
Quash a warning in strstr-c.c built for static.

13 years agoQuash a warning in nptl/allocatestack.c
Roland McGrath [Fri, 15 Jul 2011 03:47:19 +0000 (20:47 -0700)]
Quash a warning in nptl/allocatestack.c

13 years agoAdjust relro test to work around GNU ld limitations.
Roland McGrath [Fri, 15 Jul 2011 02:09:27 +0000 (19:09 -0700)]
Adjust relro test to work around GNU ld limitations.

13 years agoFix a braino in new relro configure test.
Roland McGrath [Tue, 12 Jul 2011 01:38:13 +0000 (18:38 -0700)]
Fix a braino in new relro configure test.

13 years agoGeneralize framework to register monitoring of files in nscd
Ulrich Drepper [Mon, 11 Jul 2011 18:50:24 +0000 (14:50 -0400)]
Generalize framework to register monitoring of files in nscd

nscd can clear caches when certain files change.  The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring.  nss_db, for instance, has its
own set of files to monitor.  Now the NSS modules themselves can
request that certain files are monitored.

13 years agoComment typo fix.
Roland McGrath [Sun, 10 Jul 2011 21:58:51 +0000 (14:58 -0700)]
Comment typo fix.

13 years agoTransltion updates
Ulrich Drepper [Sat, 9 Jul 2011 21:58:11 +0000 (17:58 -0400)]
Transltion updates

13 years agoUse an empirical check for .ctors/.dtors -> .init_array/.fini_array magic.
Roland McGrath [Sat, 9 Jul 2011 21:41:39 +0000 (14:41 -0700)]
Use an empirical check for .ctors/.dtors -> .init_array/.fini_array magic.

13 years agoRewrite -z relro configure check to be empirical.
Roland McGrath [Sat, 9 Jul 2011 20:55:24 +0000 (13:55 -0700)]
Rewrite -z relro configure check to be empirical.

13 years agoFind readelf with AC_CHECK_TOOL for use in configure tests.
Roland McGrath [Sat, 9 Jul 2011 11:06:34 +0000 (04:06 -0700)]
Find readelf with AC_CHECK_TOOL for use in configure tests.

13 years ago(memalign_check): No need to use checked_request2size.
Ulrich Drepper [Fri, 8 Jul 2011 17:20:41 +0000 (13:20 -0400)]
(memalign_check): No need to use checked_request2size.

13 years agoAdd test case strtod underflow
Andreas Jaeger [Fri, 8 Jul 2011 17:16:26 +0000 (13:16 -0400)]
Add test case strtod underflow

13 years agoHandle ext4 in {,f}pathconf
Ulrich Drepper [Thu, 7 Jul 2011 14:53:16 +0000 (10:53 -0400)]
Handle ext4 in {,f}pathconf

ext4 has a higher LINK_MAX limit than ext2/3.  Unfortunately it is
not easy to distinguish the filesystems from userlevel.

13 years agoHandle Lustre filesystem
Andreas Dilger [Thu, 7 Jul 2011 04:20:32 +0000 (00:20 -0400)]
Handle Lustre filesystem

13 years agoFix warnings in resolver code
Andreas Jaeger [Thu, 7 Jul 2011 02:29:45 +0000 (22:29 -0400)]
Fix warnings in resolver code

13 years agonis/nss_nisplus: Kill warnings
Ulrich Drepper [Thu, 7 Jul 2011 02:22:48 +0000 (22:22 -0400)]
nis/nss_nisplus: Kill warnings

13 years agoAdd string/test-strncat.c
Ulrich Drepper [Thu, 7 Jul 2011 01:44:29 +0000 (21:44 -0400)]
Add string/test-strncat.c

13 years agoiconvdata/johab.c: Don't inline unlikely called function
Ulrich Drepper [Thu, 7 Jul 2011 01:42:59 +0000 (21:42 -0400)]
iconvdata/johab.c: Don't inline unlikely called function

13 years agoFix for installation in sysdeps/s390/s390-64/Makefile
Ulrich Drepper [Thu, 7 Jul 2011 01:38:49 +0000 (21:38 -0400)]
Fix for installation in sysdeps/s390/s390-64/Makefile

13 years agoRebuild configure scripts
Ulrich Drepper [Thu, 7 Jul 2011 01:29:02 +0000 (21:29 -0400)]
Rebuild configure scripts

13 years agoHandle W; without long options in getopt
Ulrich Drepper [Thu, 7 Jul 2011 01:27:14 +0000 (21:27 -0400)]
Handle W; without long options in getopt

13 years agoChange error code for underflows in strtod
Ulrich Drepper [Thu, 7 Jul 2011 00:57:55 +0000 (20:57 -0400)]
Change error code for underflows in strtod

13 years agoFix typo in last patch
Ulrich Drepper [Thu, 7 Jul 2011 00:39:42 +0000 (20:39 -0400)]
Fix typo in last patch

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 7 Jul 2011 00:39:06 +0000 (20:39 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoAdd the extra check also in innetgr
Ulrich Drepper [Wed, 6 Jul 2011 15:38:42 +0000 (11:38 -0400)]
Add the extra check also in innetgr

13 years agoFix handling of chained netgroups
Ulrich Drepper [Wed, 6 Jul 2011 14:52:31 +0000 (10:52 -0400)]
Fix handling of chained netgroups

13 years agoDefault install_root value from DESTDIR.
Roland McGrath [Tue, 5 Jul 2011 16:57:47 +0000 (09:57 -0700)]
Default install_root value from DESTDIR.

13 years agoAvoid warning.
Ulrich Drepper [Tue, 5 Jul 2011 10:56:12 +0000 (06:56 -0400)]
Avoid warning.

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sun, 3 Jul 2011 18:26:29 +0000 (14:26 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoComplete last patch
Ulrich Drepper [Sun, 3 Jul 2011 00:46:37 +0000 (20:46 -0400)]
Complete last patch

13 years agoFail if format.lds comes out empty.
Roland McGrath [Sat, 2 Jul 2011 23:59:14 +0000 (16:59 -0700)]
Fail if format.lds comes out empty.

13 years agoRemove an unused variable in localedata tests.
Roland McGrath [Sat, 2 Jul 2011 23:32:24 +0000 (16:32 -0700)]
Remove an unused variable in localedata tests.

13 years agoGenerate testrun.sh to use relative directory names.
Roland McGrath [Sat, 2 Jul 2011 23:03:04 +0000 (16:03 -0700)]
Generate testrun.sh to use relative directory names.

13 years agoRewrite local headers check to be more robust and informative.
Roland McGrath [Sat, 2 Jul 2011 22:52:51 +0000 (15:52 -0700)]
Rewrite local headers check to be more robust and informative.

13 years agoExplicitly remove .gnu.glibc-stub sections with objcopy when not using
Roland McGrath [Sat, 25 Jun 2011 07:06:42 +0000 (00:06 -0700)]
Explicitly remove .gnu.glibc-stub sections with objcopy when not using
linker script.

13 years agoAdd --with-default-link configure option.
Roland McGrath [Sat, 11 Jun 2011 11:16:49 +0000 (04:16 -0700)]
Add --with-default-link configure option.

13 years agoConsolidate shlib.lds references in new variables.
Roland McGrath [Sat, 11 Jun 2011 10:41:23 +0000 (03:41 -0700)]
Consolidate shlib.lds references in new variables.

13 years agoMake asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags.
Roland McGrath [Sat, 11 Jun 2011 10:35:31 +0000 (03:35 -0700)]
Make asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags.

13 years agoUse -defsym=_begin=0 instead of linker script munging.
Roland McGrath [Sat, 11 Jun 2011 09:04:14 +0000 (02:04 -0700)]
Use -defsym=_begin=0 instead of linker script munging.

13 years agoFix last patch for big-endian machines
Ulrich Drepper [Sat, 2 Jul 2011 17:03:53 +0000 (13:03 -0400)]
Fix last patch for big-endian machines

13 years agoOptimize long-word additions in SHA implementation
Ulrich Drepper [Sat, 2 Jul 2011 16:30:03 +0000 (12:30 -0400)]
Optimize long-word additions in SHA implementation

13 years agonscd cleanups
Ulrich Drepper [Sat, 2 Jul 2011 03:02:09 +0000 (23:02 -0400)]
nscd cleanups

Cleanup and optimize last patch.  Add timeout fixes also to the
services cache.

13 years agoHandle nscd negtimeout==0
Thorsten Kukuk [Sat, 2 Jul 2011 02:53:01 +0000 (22:53 -0400)]
Handle nscd negtimeout==0

13 years agonss_compat: query NIS domain only when needed
Andreas Schwab [Fri, 1 Jul 2011 22:37:28 +0000 (18:37 -0400)]
nss_compat: query NIS domain only when needed

13 years agoFix robust mutex handling after fork
Ulrich Drepper [Fri, 1 Jul 2011 00:41:34 +0000 (20:41 -0400)]
Fix robust mutex handling after fork

13 years agoMake sure RES_USE_INET6 is always restored
Andreas Schwab [Thu, 30 Jun 2011 10:33:32 +0000 (06:33 -0400)]
Make sure RES_USE_INET6 is always restored

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 30 Jun 2011 03:36:11 +0000 (23:36 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoAvoid write to invalid file descriptor in nscd
Ulrich Drepper [Thu, 30 Jun 2011 03:33:38 +0000 (23:33 -0400)]
Avoid write to invalid file descriptor in nscd

When readding entries to the group and services cache and the lookup
is unsuccesful, we tried to write the notfound record.  Just don't
do it in this case.

13 years agoFix build with multiarch disabled.
Aurelien Jarno [Wed, 29 Jun 2011 12:00:49 +0000 (05:00 -0700)]
Fix build with multiarch disabled.

13 years agoFix quoting in some installed shell scripts
Ulrich Drepper [Tue, 28 Jun 2011 22:14:01 +0000 (18:14 -0400)]
Fix quoting in some installed shell scripts

13 years agoRemove the --experimental-malloc option
Ulrich Drepper [Tue, 28 Jun 2011 20:53:01 +0000 (16:53 -0400)]
Remove the --experimental-malloc option

It's well tested, make it the default.