Commit Graph

18535 Commits

Author SHA1 Message Date
Ulrich Drepper
9954432e30 More char16_t and char32_t support
It works now for UTF-8 locales
2012-01-07 10:52:53 -05:00
Ulrich Drepper
c3a8723670 Do not declare gets in _GNU_SOURCE mode at all 2012-01-07 10:41:00 -05:00
Ulrich Drepper
fbb68a84ee Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-07 10:39:03 -05:00
Ulrich Drepper
28926a1be1 Add explicit declaration of gets in C++ code 2012-01-07 10:37:50 -05:00
Ulrich Drepper
df78418ad7 Fix problem with reuse of test-strcpy for wide char testing 2012-01-07 08:54:34 -05:00
Joseph Myers
8ecd6b2a12 Fix C11 header changes for C++. 2012-01-06 18:11:50 +00:00
Ulrich Drepper
5e0d030065 Fix assertion in gconv's loop.c 2012-01-03 10:37:59 -05:00
Ulrich Drepper
d1863a4e95 Typo in test for C11-capable compiler 2012-01-03 08:01:45 -05:00
Ulrich Drepper
aff0673587 Merge branch 'c11' 2012-01-03 07:54:34 -05:00
Ulrich Drepper
9f1151705e Optimize regex a bit 2012-01-03 07:54:15 -05:00
Ulrich Drepper
db6af3ebf4 Add uchar.h support, part 1
c16 support for locales other than the C locale is still missing.
2012-01-01 07:17:22 -05:00
Ulrich Drepper
8ea79a616e More fallout from gets removal 2012-01-01 07:17:22 -05:00
Ulrich Drepper
16578fa7b3 Better gets prototype and fallout from removal 2012-01-01 07:17:22 -05:00
Ulrich Drepper
8b43a4cc56 Fix aligned_alloc prototype 2012-01-01 07:17:22 -05:00
Ulrich Drepper
0c023bb722 Start of uchar.h work 2012-01-01 07:17:22 -05:00
Ulrich Drepper
dadebdaeeb Add missing restrict in mbrtowc declaration 2012-01-01 07:17:21 -05:00
Ulrich Drepper
ce5294e268 Typo in CL 2012-01-01 07:17:21 -05:00
Ulrich Drepper
74033a2507 Implement timespec_get 2012-01-01 07:17:21 -05:00
Ulrich Drepper
380d7e87dc Implement aligned_alloc 2012-01-01 07:17:21 -05:00
Ulrich Drepper
c0e87cc018 Missed half the support for __USE_ISOC11 2012-01-01 07:17:21 -05:00
Ulrich Drepper
4e9e7a356c Enable at_quick_exit and quick_exit for ISO C11 2012-01-01 07:17:20 -05:00
Ulrich Drepper
8fd8ff3bd8 Add __USE_ISOCXX11 2012-01-01 07:17:20 -05:00
Ulrich Drepper
03a718297d Remove gets declaration 2012-01-01 07:17:20 -05:00
Ulrich Drepper
839e283ece Define static_assert 2012-01-01 07:17:20 -05:00
Ulrich Drepper
90fa731277 Start 2.16 development 2012-01-01 07:17:20 -05:00
Ulrich Drepper
8d44e15086 Missing BZ 2012-01-01 07:17:20 -05:00
Ulrich Drepper
d78099052b Support C11 __STDC_SOURCE__ and _ISOC11_SOURCE 2012-01-01 07:17:19 -05:00
Ulrich Drepper
a316c1f682 Also update new programs 2012-01-01 07:16:32 -05:00
Ulrich Drepper
81fb02b046 Update copyright year 2012-01-01 05:50:05 -05:00
Jakub Jelinek
2ba92745c3 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;
   }
2011-12-30 17:13:56 -05:00
Ulrich Drepper
c0da14cdda Preliminaries for 2.15 release 2011-12-23 14:03:55 -05:00
Marek Polacek
530a32499a Fix typos in comments 2011-12-23 13:59:40 -05:00
Ulrich Drepper
67371b5666 Prevent warnings due to long long constants 2011-12-23 13:52:59 -05:00
Liubov Dmitrieva
bbe315ea36 CL 2011-12-23 12:02:53 -05:00
Liubov Dmitrieva
15db4de19d Fix overrun in destination buffer 2011-12-23 12:02:15 -05:00
Marek Polacek
2b2596b1e9 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.
2011-12-23 11:19:53 -05:00
Ulrich Drepper
aebefeee8f Add another BZ 2011-12-23 11:01:46 -05:00
Ulrich Drepper
94ba57acaa Modernize time format in Swedish locale 2011-12-23 10:57:04 -05:00
Ulrich Drepper
aacdb3413a Fix wal_ET locale and build it 2011-12-23 10:04:30 -05:00
Ulrich Drepper
42c5011242 Various fixes to fi_FI 2011-12-23 09:51:10 -05:00
Ulrich Drepper
70c6c246a2 Optimize x86-32 feraiseexcept also for !__SSE_MATH__ 2011-12-23 09:18:02 -05:00
Liubov Dmitrieva
c044cf14b0 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.
2011-12-23 08:50:39 -05:00
Bruno Haible
d455f537be iconv mapping of 0xA8 0xEC in CP1258 is non-canonical 2011-12-23 08:43:41 -05:00
Bruno Haible
6b13d9d9ef iconv mapping of U+0385 in TCVN5712-1 is incorrect 2011-12-23 08:35:09 -05:00
Ulrich Drepper
6b64057b1f Add ta_LK locale 2011-12-23 08:26:58 -05:00
Ulrich Drepper
ee9e064083 Use __pthread_get_minstack in more places 2011-12-22 22:58:17 -05:00
Ulrich Drepper
2c1094bd70 Create internal threads with sufficient stack size 2011-12-22 22:43:39 -05:00
Ulrich Drepper
3b8dfc621b Fix fi_FI collation reordering 2011-12-22 21:23:33 -05:00
Ulrich Drepper
27deeafc3f Fix error code for too small input buffer to getnameinfo 2011-12-22 19:21:36 -05:00
Ulrich Drepper
e7f9dac362 Add missing BZ 2011-12-22 18:02:50 -05:00