external/glibc.git
12 years agoAdd BZ
Ulrich Drepper [Sat, 7 Jan 2012 15:57:05 +0000 (10:57 -0500)]
Add BZ

12 years agoMore char16_t and char32_t support
Ulrich Drepper [Sat, 7 Jan 2012 15:52:53 +0000 (10:52 -0500)]
More char16_t and char32_t support

It works now for UTF-8 locales

12 years agoDo not declare gets in _GNU_SOURCE mode at all
Ulrich Drepper [Sat, 7 Jan 2012 15:41:00 +0000 (10:41 -0500)]
Do not declare gets in _GNU_SOURCE mode at all

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 7 Jan 2012 15:39:03 +0000 (10:39 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoAdd explicit declaration of gets in C++ code
Ulrich Drepper [Sat, 7 Jan 2012 15:37:50 +0000 (10:37 -0500)]
Add explicit declaration of gets in C++ code

12 years agoFix problem with reuse of test-strcpy for wide char testing
Ulrich Drepper [Sat, 7 Jan 2012 13:54:34 +0000 (08:54 -0500)]
Fix problem with reuse of test-strcpy for wide char testing

12 years agoFix C11 header changes for C++.
Joseph Myers [Fri, 6 Jan 2012 18:11:50 +0000 (18:11 +0000)]
Fix C11 header changes for C++.

12 years agoFix assertion in gconv's loop.c
Ulrich Drepper [Tue, 3 Jan 2012 15:37:59 +0000 (10:37 -0500)]
Fix assertion in gconv's loop.c

12 years agoTypo in test for C11-capable compiler
Ulrich Drepper [Tue, 3 Jan 2012 13:01:45 +0000 (08:01 -0500)]
Typo in test for C11-capable compiler

12 years agoMerge branch 'c11'
Ulrich Drepper [Tue, 3 Jan 2012 12:54:34 +0000 (07:54 -0500)]
Merge branch 'c11'

12 years agoOptimize regex a bit
Ulrich Drepper [Tue, 3 Jan 2012 12:54:15 +0000 (07:54 -0500)]
Optimize regex a bit

12 years agoAdd uchar.h support, part 1
Ulrich Drepper [Wed, 28 Dec 2011 11:19:42 +0000 (06:19 -0500)]
Add uchar.h support, part 1

c16 support for locales other than the C locale is still missing.

12 years agoMore fallout from gets removal
Ulrich Drepper [Tue, 27 Dec 2011 14:57:25 +0000 (09:57 -0500)]
More fallout from gets removal

12 years agoBetter gets prototype and fallout from removal
Ulrich Drepper [Tue, 27 Dec 2011 14:53:32 +0000 (09:53 -0500)]
Better gets prototype and fallout from removal

12 years agoFix aligned_alloc prototype
Ulrich Drepper [Tue, 27 Dec 2011 12:35:05 +0000 (07:35 -0500)]
Fix aligned_alloc prototype

12 years agoStart of uchar.h work
Ulrich Drepper [Sun, 25 Dec 2011 10:52:37 +0000 (05:52 -0500)]
Start of uchar.h work

12 years agoAdd missing restrict in mbrtowc declaration
Ulrich Drepper [Sat, 24 Dec 2011 09:32:49 +0000 (04:32 -0500)]
Add missing restrict in mbrtowc declaration

12 years agoTypo in CL
Ulrich Drepper [Sat, 24 Dec 2011 05:42:54 +0000 (00:42 -0500)]
Typo in CL

12 years agoImplement timespec_get
Ulrich Drepper [Sat, 24 Dec 2011 05:40:15 +0000 (00:40 -0500)]
Implement timespec_get

12 years agoImplement aligned_alloc
Ulrich Drepper [Sat, 24 Dec 2011 04:49:48 +0000 (23:49 -0500)]
Implement aligned_alloc

12 years agoMissed half the support for __USE_ISOC11
Ulrich Drepper [Sat, 24 Dec 2011 04:37:07 +0000 (23:37 -0500)]
Missed half the support for __USE_ISOC11

12 years agoEnable at_quick_exit and quick_exit for ISO C11
Ulrich Drepper [Sat, 24 Dec 2011 04:21:15 +0000 (23:21 -0500)]
Enable at_quick_exit and quick_exit for ISO C11

12 years agoAdd __USE_ISOCXX11
Ulrich Drepper [Sat, 24 Dec 2011 04:20:07 +0000 (23:20 -0500)]
Add __USE_ISOCXX11

12 years agoRemove gets declaration
Ulrich Drepper [Sat, 24 Dec 2011 03:59:38 +0000 (22:59 -0500)]
Remove gets declaration

12 years agoDefine static_assert
Ulrich Drepper [Sat, 24 Dec 2011 03:55:44 +0000 (22:55 -0500)]
Define static_assert

12 years agoStart 2.16 development
Ulrich Drepper [Sat, 24 Dec 2011 03:54:13 +0000 (22:54 -0500)]
Start 2.16 development

12 years agoMissing BZ
Ulrich Drepper [Sat, 24 Dec 2011 03:53:02 +0000 (22:53 -0500)]
Missing BZ

12 years agoSupport C11 __STDC_SOURCE__ and _ISOC11_SOURCE
Ulrich Drepper [Sat, 24 Dec 2011 03:45:16 +0000 (22:45 -0500)]
Support C11 __STDC_SOURCE__ and _ISOC11_SOURCE

12 years agoAlso update new programs
Ulrich Drepper [Sun, 1 Jan 2012 12:16:32 +0000 (07:16 -0500)]
Also update new programs

12 years agoUpdate copyright year
Ulrich Drepper [Sun, 1 Jan 2012 10:50:05 +0000 (05:50 -0500)]
Update copyright year

12 years agoFix up regcomp/regexec
Jakub Jelinek [Fri, 30 Dec 2011 22:13:56 +0000 (17:13 -0500)]
Fix up regcomp/regexec

The problem is that parse_bracket_symbol is miscompiled, and it turns
out it is because of an incorrect attribute on re_string_fetch_byte_case.
Unlike re_string_peek_byte_case, this one is really not pure, it modifies memory
(increments pstr->cur_idx), and with the pure attribute GCC assumed it doesn't
and it cached the presumed value of regexp->cur_idx in a variable across the
 for (;; ++i)
   {
     if (i >= BRACKET_NAME_BUF_SIZE)
       return REG_EBRACK;
     if (token->type == OP_OPEN_CHAR_CLASS)
       ch = re_string_fetch_byte_case (regexp);
     else
       ch = re_string_fetch_byte (regexp);
     if (re_string_eoi(regexp))
       return REG_EBRACK;
     if (ch == delim && re_string_peek_byte (regexp, 0) == ']')
       break;
     elem->opr.name[i] = ch;
   }

12 years agoPreliminaries for 2.15 release
Ulrich Drepper [Fri, 23 Dec 2011 19:03:55 +0000 (14:03 -0500)]
Preliminaries for 2.15 release

12 years agoFix typos in comments
Marek Polacek [Fri, 23 Dec 2011 18:59:40 +0000 (13:59 -0500)]
Fix typos in comments

12 years agoPrevent warnings due to long long constants
Ulrich Drepper [Fri, 23 Dec 2011 18:52:59 +0000 (13:52 -0500)]
Prevent warnings due to long long constants

12 years agoCL
Liubov Dmitrieva [Fri, 23 Dec 2011 17:02:53 +0000 (12:02 -0500)]
CL

12 years agoFix overrun in destination buffer
Liubov Dmitrieva [Fri, 23 Dec 2011 17:02:15 +0000 (12:02 -0500)]
Fix overrun in destination buffer

12 years agoAdd missing inline keyword
Marek Polacek [Fri, 23 Dec 2011 16:19:53 +0000 (11:19 -0500)]
Add missing inline keyword

According to http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00608.html,
a function without `inline' with an `always_inline' attribute is a bug.

12 years agoAdd another BZ
Ulrich Drepper [Fri, 23 Dec 2011 16:01:46 +0000 (11:01 -0500)]
Add another BZ

12 years agoModernize time format in Swedish locale
Ulrich Drepper [Fri, 23 Dec 2011 15:57:04 +0000 (10:57 -0500)]
Modernize time format in Swedish locale

12 years agoFix wal_ET locale and build it
Ulrich Drepper [Fri, 23 Dec 2011 15:04:30 +0000 (10:04 -0500)]
Fix wal_ET locale and build it

12 years agoVarious fixes to fi_FI
Ulrich Drepper [Fri, 23 Dec 2011 14:51:10 +0000 (09:51 -0500)]
Various fixes to fi_FI

12 years agoOptimize x86-32 feraiseexcept also for !__SSE_MATH__
Ulrich Drepper [Fri, 23 Dec 2011 14:18:02 +0000 (09:18 -0500)]
Optimize x86-32 feraiseexcept also for !__SSE_MATH__

12 years agoFix wrong copying processing for last bytes in x86-32 wcscpy
Liubov Dmitrieva [Fri, 23 Dec 2011 13:50:39 +0000 (08:50 -0500)]
Fix wrong copying processing for last bytes in x86-32 wcscpy

Wrong copy algorithm for last bytes, not thread safety.
In some particular cases it uses the destination
memory beyond the string end for
16-byte load, puts changes into that part that is relevant
to destination string and writes whole 16-byte chunk into memory.
I have a test case where the memory beyond the string end contains
malloc/free data, that appear corrupted in case free() updates
it in between the 16-byte read and 16-byte write.

12 years agoiconv mapping of 0xA8 0xEC in CP1258 is non-canonical
Bruno Haible [Fri, 23 Dec 2011 13:43:41 +0000 (08:43 -0500)]
iconv mapping of 0xA8 0xEC in CP1258 is non-canonical

12 years agoiconv mapping of U+0385 in TCVN5712-1 is incorrect
Bruno Haible [Fri, 23 Dec 2011 13:35:09 +0000 (08:35 -0500)]
iconv mapping of U+0385 in TCVN5712-1 is incorrect

12 years agoAdd ta_LK locale
Ulrich Drepper [Fri, 23 Dec 2011 13:26:58 +0000 (08:26 -0500)]
Add ta_LK locale

12 years agoUse __pthread_get_minstack in more places
Ulrich Drepper [Fri, 23 Dec 2011 03:58:17 +0000 (22:58 -0500)]
Use __pthread_get_minstack in more places

12 years agoCreate internal threads with sufficient stack size
Ulrich Drepper [Fri, 23 Dec 2011 03:43:39 +0000 (22:43 -0500)]
Create internal threads with sufficient stack size

12 years agoFix fi_FI collation reordering
Ulrich Drepper [Fri, 23 Dec 2011 02:23:33 +0000 (21:23 -0500)]
Fix fi_FI collation reordering

12 years agoFix error code for too small input buffer to getnameinfo
Ulrich Drepper [Fri, 23 Dec 2011 00:21:36 +0000 (19:21 -0500)]
Fix error code for too small input buffer to getnameinfo

12 years agoAdd missing BZ
Ulrich Drepper [Thu, 22 Dec 2011 23:02:50 +0000 (18:02 -0500)]
Add missing BZ

12 years agoAdd feraiseexcept optimization for x86-32
Ulrich Drepper [Thu, 22 Dec 2011 22:52:30 +0000 (17:52 -0500)]
Add feraiseexcept optimization for x86-32

12 years agoAlso retrieve SSE exceptions in x86-32 fegetexceptflag
Ulrich Drepper [Thu, 22 Dec 2011 21:28:08 +0000 (16:28 -0500)]
Also retrieve SSE exceptions in x86-32 fegetexceptflag

12 years agoBuild ur_IN locale
Ulrich Drepper [Thu, 22 Dec 2011 20:07:28 +0000 (15:07 -0500)]
Build ur_IN locale

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 22 Dec 2011 19:23:28 +0000 (14:23 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoFix overrun in strcpy destination buffer in x86-32/SSSE3 version
Liubov Dmitrieva [Thu, 22 Dec 2011 19:22:00 +0000 (14:22 -0500)]
Fix overrun in strcpy destination buffer in x86-32/SSSE3 version

12 years agoSupport building bits/syscall.h for any number of subarch variants.
Joseph Myers [Thu, 22 Dec 2011 18:22:50 +0000 (18:22 +0000)]
Support building bits/syscall.h for any number of subarch variants.

12 years agoAdd brx_IN locale
Ulrich Drepper [Thu, 22 Dec 2011 16:50:52 +0000 (11:50 -0500)]
Add brx_IN locale

12 years agoOptimize tr_freehook
Ulrich Drepper [Thu, 22 Dec 2011 16:38:32 +0000 (11:38 -0500)]
Optimize tr_freehook

12 years agoChange currency symbol placement for nl_BE
Ulrich Drepper [Thu, 22 Dec 2011 16:30:06 +0000 (11:30 -0500)]
Change currency symbol placement for nl_BE

12 years agoAdd es_CU locale
Ulrich Drepper [Thu, 22 Dec 2011 16:23:28 +0000 (11:23 -0500)]
Add es_CU locale

12 years agoWP issues
Ulrich Drepper [Thu, 22 Dec 2011 16:12:54 +0000 (11:12 -0500)]
WP issues

12 years agoAdd unm_US locale
Ulrich Drepper [Thu, 22 Dec 2011 16:10:25 +0000 (11:10 -0500)]
Add unm_US locale

12 years agoWP issues
Ulrich Drepper [Thu, 22 Dec 2011 15:49:40 +0000 (10:49 -0500)]
WP issues

12 years agoAdd bho_IN locale
Ulrich Drepper [Thu, 22 Dec 2011 15:48:43 +0000 (10:48 -0500)]
Add bho_IN locale

12 years agoUse __REDIRECT_NTH for __feraiseexcept_renamed
Ulrich Drepper [Thu, 22 Dec 2011 13:05:21 +0000 (08:05 -0500)]
Use __REDIRECT_NTH for __feraiseexcept_renamed

12 years agoDefine EPOLLONESHOT and EPOLLET using unsigned values
Ulrich Drepper [Thu, 22 Dec 2011 03:14:05 +0000 (22:14 -0500)]
Define EPOLLONESHOT and EPOLLET using unsigned values

12 years agoUse Kahan's formula in cacosh
Ulrich Drepper [Thu, 22 Dec 2011 03:08:12 +0000 (22:08 -0500)]
Use Kahan's formula in cacosh

12 years agoFix sign errr in some cacosh results
Richard B. Kreckel [Thu, 22 Dec 2011 02:01:29 +0000 (21:01 -0500)]
Fix sign errr in some cacosh results

12 years agoFix reading thread name from comm file
Ulrich Drepper [Thu, 22 Dec 2011 00:26:29 +0000 (19:26 -0500)]
Fix reading thread name from comm file

12 years agoFix one typo
Ulrich Drepper [Wed, 21 Dec 2011 23:57:18 +0000 (18:57 -0500)]
Fix one typo

12 years agoStore invocation-specific data of conversion modules in __gconv_step_data
Ulrich Drepper [Wed, 21 Dec 2011 23:45:50 +0000 (18:45 -0500)]
Store invocation-specific data of conversion modules in __gconv_step_data

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