platform/upstream/glibc.git
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

13 years agoFix typo in comment
Ulrich Drepper [Sat, 14 May 2011 15:16:18 +0000 (11:16 -0400)]
Fix typo in comment

13 years agoFix potential problem with out-of-scope buffer
Ulrich Drepper [Sat, 14 May 2011 15:13:31 +0000 (11:13 -0400)]
Fix potential problem with out-of-scope buffer

13 years agoInitialize variable in _IO_new_file_close_it
Ulrich Drepper [Sat, 14 May 2011 14:59:54 +0000 (10:59 -0400)]
Initialize variable in _IO_new_file_close_it

The last change left a variable in some situations uninitialized.

13 years agoHandle recursive calls in backtrace better
Ulrich Drepper [Sat, 14 May 2011 14:46:17 +0000 (10:46 -0400)]
Handle recursive calls in backtrace better

13 years agoOptimize conversion of single character in gconv
Ulrich Drepper [Sat, 14 May 2011 05:03:08 +0000 (01:03 -0400)]
Optimize conversion of single character in gconv

13 years agoFix handling of incomplete character storage in state
Ulrich Drepper [Sat, 14 May 2011 04:53:21 +0000 (00:53 -0400)]
Fix handling of incomplete character storage in state

If iconv is called more than once in a row for adding bytes to the sequence
while still remain under the minimum size of a character and if STORE_REST
is defined, we didn't consume any input.  Fix that.

13 years agoAdd support for generated PIE link rules
Andreas Schwab [Sat, 14 May 2011 03:31:43 +0000 (23:31 -0400)]
Add support for generated PIE link rules

13 years agoFix error messages in test.
Ulrich Drepper [Sat, 14 May 2011 01:10:29 +0000 (21:10 -0400)]
Fix error messages in test.

13 years agoFix file descriptor position after fclose
Ulrich Drepper [Sat, 14 May 2011 01:08:45 +0000 (21:08 -0400)]
Fix file descriptor position after fclose

fclose should leave the file descriptor position after the last read
or written byte.

13 years agoFix resizing able for unique symbols when adding symbol for copy relocation
Piotr Bury [Fri, 13 May 2011 01:59:09 +0000 (21:59 -0400)]
Fix resizing able for unique symbols when adding symbol for copy relocation

13 years agoFix sched_setscheduler call in spawn implementation
Ulrich Drepper [Thu, 12 May 2011 03:58:02 +0000 (23:58 -0400)]
Fix sched_setscheduler call in spawn implementation

13 years agoFix manual regarding switch from read to write on streams.
Per Inge Mathisen [Thu, 12 May 2011 03:43:26 +0000 (23:43 -0400)]
Fix manual regarding switch from read to write on streams.

13 years agoReport write error in addmnt even for cached streams.
Ulrich Drepper [Thu, 12 May 2011 03:37:25 +0000 (23:37 -0400)]
Report write error  in addmnt even for cached streams.

13 years agoTranslate kernel error into what pthread_create should return
Ulrich Drepper [Wed, 11 May 2011 22:23:24 +0000 (18:23 -0400)]
Translate kernel error into what pthread_create should return

13 years agoFix typo.
Ulrich Drepper [Wed, 11 May 2011 16:02:24 +0000 (12:02 -0400)]
Fix typo.

13 years agoFix up testing for valid $ORIGIN use
Ulrich Drepper [Wed, 11 May 2011 04:15:38 +0000 (00:15 -0400)]
Fix up testing for valid $ORIGIN use

13 years agoMore configurability for secondary group lookup
Ulrich Drepper [Tue, 10 May 2011 04:36:29 +0000 (00:36 -0400)]
More configurability for secondary group lookup

Together with a previous patch which introduced the initgroups
entry in nsswitch.conf this patch allows more customization of
the lookups for initgroups/getgrouplist.  Nothing changes if
the groups entry in nsswitch.conf is used.  If the initgroups entry
is used instead the code now doesn't automatically continue looking
for more entries aftedr a successful lookup.  Instead the normal
rules are followed which do specify that by default no more
service is consulted.  This can be overwritten with
[SUCCESS=continue]
appropriately placed in the line.

13 years agoUpdate NEWS.
Ulrich Drepper [Tue, 10 May 2011 04:11:47 +0000 (00:11 -0400)]
Update NEWS.

13 years agoJust BZ annotations
Ulrich Drepper [Tue, 10 May 2011 03:29:28 +0000 (23:29 -0400)]
Just BZ annotations

13 years agoHandle localized y/n reply in sq_AL
Ulrich Drepper [Tue, 10 May 2011 03:23:17 +0000 (23:23 -0400)]
Handle localized y/n reply in sq_AL

13 years agoAdd support for CP770, CP771, CP772, CP773, and CP774
Ulrich Drepper [Tue, 10 May 2011 03:15:39 +0000 (23:15 -0400)]
Add support for CP770, CP771, CP772, CP773, and CP774

13 years agosync glibc Latin American paper sizes with CLDR 1.8.1
Caolán McNamara [Mon, 9 May 2011 23:33:32 +0000 (19:33 -0400)]
sync glibc Latin American paper sizes with CLDR 1.8.1

13 years agoFix currency_symbol of es_NI locale
Ulrich Drepper [Mon, 9 May 2011 23:25:20 +0000 (19:25 -0400)]
Fix currency_symbol of es_NI locale

13 years agoChange paper format for Nicaragua to letter
Ulrich Drepper [Mon, 9 May 2011 23:18:50 +0000 (19:18 -0400)]
Change paper format for Nicaragua to letter

13 years agoMonth names in Russian Localization should be in lowercase
Alexey Balmashnov [Mon, 9 May 2011 23:12:15 +0000 (19:12 -0400)]
Month names in Russian Localization should be in lowercase