platform/upstream/glibc.git
13 years agoStart 2.15 development
Ulrich Drepper [Wed, 8 Jun 2011 02:22:10 +0000 (22:22 -0400)]
Start 2.15 development

13 years agoS/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
Andreas Krebbel [Tue, 7 Jun 2011 11:26:27 +0000 (07:26 -0400)]
S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch

13 years agoUse canonical FSF .texi files for LGPL and FDL texts.
Roland McGrath [Mon, 6 Jun 2011 22:57:10 +0000 (15:57 -0700)]
Use canonical FSF .texi files for LGPL and FDL texts.

13 years agoFix <bits/mqueue2.h> for C++
Jakub Jelinek [Sat, 4 Jun 2011 18:21:45 +0000 (14:21 -0400)]
Fix <bits/mqueue2.h> for C++

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 3 Jun 2011 11:02:32 +0000 (07:02 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoAssume Intel Core i3/i5/i7 processor if AVX is available
H.J. Lu [Fri, 3 Jun 2011 11:01:25 +0000 (07:01 -0400)]
Assume Intel Core i3/i5/i7 processor if AVX is available

13 years agoFix typo in stack guard setup code for old kernels
Ulrich Drepper [Tue, 31 May 2011 18:23:01 +0000 (14:23 -0400)]
Fix typo in  stack guard setup code for old kernels

13 years agoDon't free non-malloced memory and fix memory leak
Ulrich Drepper [Tue, 31 May 2011 12:45:44 +0000 (08:45 -0400)]
Don't free non-malloced memory and fix memory leak

13 years ago2.14 release glibc-2.14
Ulrich Drepper [Tue, 31 May 2011 04:12:33 +0000 (00:12 -0400)]
2.14 release

13 years agoNo need for RANLIB make variable anymore
Ulrich Drepper [Tue, 31 May 2011 04:09:58 +0000 (00:09 -0400)]
No need for RANLIB make variable anymore

13 years agoUpdated translation template file
Ulrich Drepper [Tue, 31 May 2011 04:09:20 +0000 (00:09 -0400)]
Updated translation template file

13 years agoAlso translation messages in .ksh files
Ulrich Drepper [Tue, 31 May 2011 04:09:03 +0000 (00:09 -0400)]
Also translation messages in .ksh files

13 years agoHandle DNS server failures in case of AF_UNSPEC lookups correctly
Ulrich Drepper [Tue, 31 May 2011 02:48:47 +0000 (22:48 -0400)]
Handle DNS server failures in case of AF_UNSPEC lookups correctly

13 years agoUndo last patch
Ulrich Drepper [Mon, 30 May 2011 16:33:37 +0000 (12:33 -0400)]
Undo last patch

13 years agoAdd BZ number to NEWS
Ulrich Drepper [Mon, 30 May 2011 16:33:12 +0000 (12:33 -0400)]
Add BZ number to NEWS

13 years agoHandle DSOs without any dependency in ld.so
Ulrich Drepper [Mon, 30 May 2011 16:31:25 +0000 (12:31 -0400)]
Handle DSOs without any dependency in ld.so

13 years agoOne more thinko in CL
Ulrich Drepper [Mon, 30 May 2011 15:57:50 +0000 (11:57 -0400)]
One more thinko in CL

13 years agoFix typo in CL
Ulrich Drepper [Mon, 30 May 2011 15:14:06 +0000 (11:14 -0400)]
Fix typo in CL

13 years agoPrevent loader from loading itself
Ulrich Drepper [Mon, 30 May 2011 05:55:40 +0000 (01:55 -0400)]
Prevent loader from loading itself

13 years agoRestore _res correctly
Ulrich Drepper [Mon, 30 May 2011 03:49:49 +0000 (23:49 -0400)]
Restore _res correctly

getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups.  The restoring didn't allow for the resolver to set
additional bits in _res.

13 years agoReference wrong BZ
Ulrich Drepper [Mon, 30 May 2011 02:28:01 +0000 (22:28 -0400)]
Reference wrong BZ

13 years agoInterpret numeric values in shadow file as signed
Ulrich Drepper [Mon, 30 May 2011 02:26:43 +0000 (22:26 -0400)]
Interpret numeric values in shadow file as signed

13 years agoMake resolv.conf parsing more compact
Ulrich Drepper [Mon, 30 May 2011 02:07:49 +0000 (22:07 -0400)]
Make resolv.conf parsing more compact

13 years agoRecognize use-vc option in resolv.conf
Ulrich Drepper [Mon, 30 May 2011 01:43:33 +0000 (21:43 -0400)]
Recognize use-vc option in resolv.conf

13 years agoRecord when bug 11577 was fixed and by which patch
Ulrich Drepper [Mon, 30 May 2011 01:33:30 +0000 (21:33 -0400)]
Record when bug 11577 was fixed and by which patch

13 years agoDon't build AVX tests with old compilers
Ulrich Drepper [Mon, 30 May 2011 01:25:58 +0000 (21:25 -0400)]
Don't build AVX tests with old compilers

13 years agoMark malloc hook variables as deprecated
Ulrich Drepper [Mon, 30 May 2011 01:10:23 +0000 (21:10 -0400)]
Mark malloc hook variables as deprecated

13 years agoPerhaps the real definition of __MALLOC_HOOK_VOLATILE should be added
Ulrich Drepper [Mon, 30 May 2011 00:43:54 +0000 (20:43 -0400)]
Perhaps the real definition of __MALLOC_HOOK_VOLATILE should be added

13 years agoMissed one malloc hook variable
Ulrich Drepper [Mon, 30 May 2011 00:41:09 +0000 (20:41 -0400)]
Missed one malloc hook variable

13 years agoDeclare malloc hook variables as volatile.
Ulrich Drepper [Mon, 30 May 2011 00:40:08 +0000 (20:40 -0400)]
Declare malloc hook variables as volatile.

13 years agoFix typo in last patch to locarchive.c
Ulrich Drepper [Mon, 30 May 2011 00:26:04 +0000 (20:26 -0400)]
Fix typo in last patch to locarchive.c

13 years agoSame change for the other siginfi.h files
Ulrich Drepper [Mon, 30 May 2011 00:12:15 +0000 (20:12 -0400)]
Same change for the other siginfi.h files

13 years agoDon't document si_code used for raise()
Ulrich Drepper [Mon, 30 May 2011 00:05:30 +0000 (20:05 -0400)]
Don't document si_code used for raise()

13 years agoFix unnecessary overallocation due to incomplete character
Ulrich Drepper [Sat, 28 May 2011 21:14:30 +0000 (17:14 -0400)]
Fix unnecessary overallocation due to incomplete character

When incomplete characters are found at the end of a string the
code ran amok and allocated lots of memory.  Stricter limits
are now in place.

13 years agoHandle failure of _nl_explode_name in all cases
Ulrich Drepper [Sat, 28 May 2011 20:59:30 +0000 (16:59 -0400)]
Handle failure of _nl_explode_name in all cases

13 years agoRemove unused variable
Ulrich Drepper [Sat, 28 May 2011 18:43:43 +0000 (14:43 -0400)]
Remove unused variable

13 years agoFix bug in last checkin which left ldd uninstalled
Ulrich Drepper [Sat, 28 May 2011 18:22:06 +0000 (14:22 -0400)]
Fix bug in last checkin which left ldd uninstalled

13 years agoAdd sotruss program
Ulrich Drepper [Sat, 28 May 2011 17:20:12 +0000 (13:20 -0400)]
Add sotruss program

13 years agoFix build for platforms with socketcall syscall
Ulrich Drepper [Sat, 28 May 2011 17:18:57 +0000 (13:18 -0400)]
Fix build for platforms with socketcall syscall

13 years agoUnify messages
Ulrich Drepper [Sat, 28 May 2011 13:49:05 +0000 (09:49 -0400)]
Unify messages

Some shell scripts unnecessarily used different formats for some
messages.  Unify them to reduce the work of translators.

13 years agoAdd support for time syscall in vDSO
Ulrich Drepper [Sat, 28 May 2011 05:53:26 +0000 (01:53 -0400)]
Add support for time syscall in vDSO

13 years agoAdd sendmmsg syscall
Ulrich Drepper [Sat, 28 May 2011 05:43:20 +0000 (01:43 -0400)]
Add sendmmsg syscall

13 years agoSet setns system call
Ulrich Drepper [Sat, 28 May 2011 04:53:13 +0000 (00:53 -0400)]
Set setns system call

13 years agoUse getcpu definition from vDSO on x86-64
Ulrich Drepper [Fri, 27 May 2011 20:09:52 +0000 (16:09 -0400)]
Use getcpu definition from vDSO on x86-64

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 27 May 2011 12:37:18 +0000 (08:37 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog
NEWS

13 years agoAdd test for last iconv bug
Ulrich Drepper [Fri, 27 May 2011 12:35:44 +0000 (08:35 -0400)]
Add test for last iconv bug

13 years agoFix conversion to ISO-2022-JP-2 with ISO-8859-7 designation
Andreas Schwab [Fri, 27 May 2011 12:34:00 +0000 (08:34 -0400)]
Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designation

13 years agoUndo accidental change in x86-64 user.h
Jakub Jelinek [Wed, 25 May 2011 20:57:13 +0000 (16:57 -0400)]
Undo accidental change in x86-64 user.h

13 years agoUpdate Japanese translation
Ulrich Drepper [Wed, 25 May 2011 19:14:21 +0000 (15:14 -0400)]
Update Japanese translation

13 years agoDefine RLIMIT_RTTIME
Ulrich Drepper [Mon, 23 May 2011 19:53:37 +0000 (15:53 -0400)]
Define RLIMIT_RTTIME

13 years agoUpdate longlong.h from GCC
Andreas Schwab [Mon, 23 May 2011 15:53:24 +0000 (11:53 -0400)]
Update longlong.h from GCC

13 years agoFix sysconf compilation for !HP_TIMING_AVAIL archs
Andreas Schwab [Mon, 23 May 2011 15:51:12 +0000 (11:51 -0400)]
Fix sysconf compilation for !HP_TIMING_AVAIL archs

13 years agoAdd a few more alloca size checks
Ulrich Drepper [Mon, 23 May 2011 03:04:16 +0000 (23:04 -0400)]
Add a few more alloca size checks

13 years agoFix flags parameter value passed to pltenter and pltexit
Ulrich Drepper [Mon, 23 May 2011 01:30:31 +0000 (21:30 -0400)]
Fix flags parameter value passed to pltenter and pltexit

13 years agoDefine CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
Ulrich Drepper [Sat, 21 May 2011 21:20:41 +0000 (17:20 -0400)]
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM

13 years agoFix last change
Ulrich Drepper [Sat, 21 May 2011 20:19:06 +0000 (16:19 -0400)]
Fix last change

And optimize a bit.

13 years agoAlways fill output buffer in XPG strerror function
Ulrich Drepper [Sat, 21 May 2011 16:11:36 +0000 (12:11 -0400)]
Always fill output buffer in XPG strerror function

13 years agoNicer output for negative error numbers in strerror_r
Ulrich Drepper [Sat, 21 May 2011 16:09:23 +0000 (12:09 -0400)]
Nicer output for negative error numbers in strerror_r

13 years agoFix CP1258 conversion
Ulrich Drepper [Sat, 21 May 2011 15:33:05 +0000 (11:33 -0400)]
Fix CP1258 conversion

a5 ec was mishandled and the other direction appropriately so, too.

13 years agoFix configure visibility tests
Ulrich Drepper [Sat, 21 May 2011 12:00:14 +0000 (08:00 -0400)]
Fix configure visibility tests

13 years agoFix handling of LC_CTYPE in locale name handling
Ulrich Drepper [Sat, 21 May 2011 06:06:45 +0000 (02:06 -0400)]
Fix handling of LC_CTYPE in locale name handling

13 years agoSet stream errors in more cases
Ulrich Drepper [Sat, 21 May 2011 04:42:06 +0000 (00:42 -0400)]
Set stream errors in more cases

Also avoid unnecessarily setting errno when testing for TTY.

13 years agoDon't unconditionally use alloca in gaih_inet
Ulrich Drepper [Sat, 21 May 2011 03:46:03 +0000 (23:46 -0400)]
Don't unconditionally use alloca in gaih_inet

13 years agoUpdate documentation in regex.h
Reuben Thomas [Fri, 20 May 2011 13:14:03 +0000 (09:14 -0400)]
Update documentation in regex.h

13 years agoPrevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
Ryan S. Arnold [Fri, 20 May 2011 10:34:48 +0000 (06:34 -0400)]
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
(cherry picked from commit 4749a0058b27274a95c5a798e339c7299cdf890e)

Conflicts:

ChangeLog

13 years agoRemove __libc_alloca_cutoff workaround
Andreas Schwab [Fri, 20 May 2011 01:15:22 +0000 (21:15 -0400)]
Remove __libc_alloca_cutoff workaround

13 years agoCleanup namespace use.
Ulrich Drepper [Fri, 20 May 2011 01:09:29 +0000 (21:09 -0400)]
Cleanup namespace use.

13 years agoFix whitespace
Ulrich Drepper [Wed, 18 May 2011 23:52:42 +0000 (19:52 -0400)]
Fix whitespace

13 years agoFix typo in x86-64 powl
H.J. Lu [Wed, 18 May 2011 23:50:48 +0000 (19:50 -0400)]
Fix typo in x86-64 powl

13 years agoFix fileops.c build for old kernels
H.J. Lu [Tue, 17 May 2011 05:45:49 +0000 (01:45 -0400)]
Fix fileops.c build for old kernels

13 years agoUpdate GB18030 to 2005 version
Ulrich Drepper [Tue, 17 May 2011 05:42:27 +0000 (01:42 -0400)]
Update GB18030 to 2005 version

13 years agoUpdate RE_SYNTAX*_AWK constants in regex.h
Aharon Robbins [Mon, 16 May 2011 14:28:44 +0000 (10:28 -0400)]
Update RE_SYNTAX*_AWK constants in regex.h

13 years agoHandle long variable names in putenv
Ulrich Drepper [Mon, 16 May 2011 14:13:54 +0000 (10:13 -0400)]
Handle long variable names in putenv

13 years agoFix reporting of invalid timeouts in emulated pselect
Ulrich Drepper [Mon, 16 May 2011 13:35:51 +0000 (09:35 -0400)]
Fix reporting of invalid timeouts in emulated pselect

13 years agoFix test for error_one_per_line mode in error
Ulrich Drepper [Mon, 16 May 2011 13:10:36 +0000 (09:10 -0400)]
Fix test for error_one_per_line mode in error

13 years agoRemove shortcut for call of chown
Ulrich Drepper [Mon, 16 May 2011 05:43:56 +0000 (01:43 -0400)]
Remove shortcut for call of chown

The UID might differ, too.  Just call chown unconditionally.

13 years agoCleanup x86-64 sys/user.h
Ulrich Drepper [Mon, 16 May 2011 05:35:07 +0000 (01:35 -0400)]
Cleanup x86-64 sys/user.h

13 years agoAdd work and week day info to sl_SI locale
Sašo Živanovic [Mon, 16 May 2011 05:24:50 +0000 (01:24 -0400)]
Add work and week day info to sl_SI locale

13 years agoRecode se_NO locale file to UTF-8
Ulrich Drepper [Mon, 16 May 2011 05:07:09 +0000 (01:07 -0400)]
Recode se_NO locale file to UTF-8

13 years agoAvoid potential deadlock in mtrace
Ulrich Drepper [Mon, 16 May 2011 04:58:33 +0000 (00:58 -0400)]
Avoid potential deadlock in mtrace

The _dl_addr function might have to call malloc which would lead
to a deadlock.  Avoid by calling _dl_addr early.

13 years agoRemove USE_MTRACE_FILE support from mtrace
Ulrich Drepper [Mon, 16 May 2011 04:22:16 +0000 (00:22 -0400)]
Remove USE_MTRACE_FILE support from mtrace

13 years agoFix a few problems in fopen and freopen
Ulrich Drepper [Sun, 15 May 2011 19:28:46 +0000 (15:28 -0400)]
Fix a few problems in fopen and freopen

fopen should set the FD_CLOEXEC flag if requested evenif the kernel does
not support an aotmic operation.

freopen should reuse the file descriptor for the stream.  This is
especially important for calls to change the standard streams (stin,
stdout, stderr).

13 years agoProvide more helpful error message in getopt
Ulrich Drepper [Sun, 15 May 2011 17:35:09 +0000 (13:35 -0400)]
Provide more helpful error message in getopt

If provide with an ambiguous long option we now show all the possibilities.

13 years agoWhitespace fixes
Ulrich Drepper [Sun, 15 May 2011 16:24:14 +0000 (12:24 -0400)]
Whitespace fixes

13 years agoUpdate configure helper scripts
Ulrich Drepper [Sun, 15 May 2011 16:17:01 +0000 (12:17 -0400)]
Update configure helper scripts

13 years agoFix typoe in CL
Ulrich Drepper [Sun, 15 May 2011 15:46:07 +0000 (11:46 -0400)]
Fix typoe in CL

13 years agoFix whitespaces
Ulrich Drepper [Sun, 15 May 2011 15:37:52 +0000 (11:37 -0400)]
Fix whitespaces

13 years agoMove Dzonghka collation rules to common collation rules file
Ulrich Drepper [Sun, 15 May 2011 15:36:07 +0000 (11:36 -0400)]
Move Dzonghka collation rules to common collation rules file

13 years agoFix some fields in time info in sv_FI locale
Johan Heikkila [Sun, 15 May 2011 15:27:42 +0000 (11:27 -0400)]
Fix some fields in time info in sv_FI locale

13 years agosysconf on Linux/ia64 reported outdate versions for some options
Ulrich Drepper [Sun, 15 May 2011 15:18:10 +0000 (11:18 -0400)]
sysconf on Linux/ia64 reported outdate versions for some options

The code is also cleaned up to avoid inefficiencies.

13 years agoMake stack canary value harder to read through read overflow
Ulrich Drepper [Sun, 15 May 2011 14:59:07 +0000 (10:59 -0400)]
Make stack canary value harder to read through read overflow

13 years agoUse non-cancelable interfaces in setup code
Ulrich Drepper [Sun, 15 May 2011 13:40:30 +0000 (09:40 -0400)]
Use non-cancelable interfaces in setup code

13 years agoFix typo in last checkin
Ulrich Drepper [Sun, 15 May 2011 12:33:54 +0000 (08:33 -0400)]
Fix typo in last checkin

I referenced the attachment, not th eBZ number

13 years agoAdd entry for Sorani language
Ulrich Drepper [Sun, 15 May 2011 12:32:57 +0000 (08:32 -0400)]
Add entry for Sorani language

13 years agoUse mmap for allocation of buffers used for __abort_msg
Ulrich Drepper [Sun, 15 May 2011 04:34:48 +0000 (00:34 -0400)]
Use mmap for allocation of buffers used for __abort_msg

13 years agoLast patch also fixes BZ 11952
Ulrich Drepper [Sun, 15 May 2011 01:32:08 +0000 (21:32 -0400)]
Last patch also fixes BZ 11952

13 years agoFix handling of static TLS in dlopen'ed objects
Martin von Gagern [Sun, 15 May 2011 01:25:43 +0000 (21:25 -0400)]
Fix handling of static TLS in dlopen'ed objects

When dynamically loading a library along with several dependencies, calls to
_dl_add_to_slotinfo and _dl_update_slotinfo can become intermixed. As a
consequence, _dl_update_slotinfo will update the generation counter of the dtv
although not all of the slots belonging to that generation have been added.
Subsequent calls to _dl_add_to_slotinfo will add more slots to the same
generation, for which no storage will be allocated, as the dtv generation
checks will claim no work is necessary. This will lead to uninitialized dtv
entries and will likely cause a SIGSEGV when thread local variables are
accessed.

13 years agoFix time format in en_SG locale
KH Teo [Sat, 14 May 2011 23:47:43 +0000 (19:47 -0400)]
Fix time format in en_SG locale

13 years agoFix initialization of optimization values for AIO
Ulrich Drepper [Sat, 14 May 2011 23:30:37 +0000 (19:30 -0400)]
Fix initialization of optimization values for AIO

13 years agoFix handling of conversion problem in CP932 module
Ulrich Drepper [Sat, 14 May 2011 15:37:36 +0000 (11:37 -0400)]
Fix handling of conversion problem in CP932 module