Commit Graph

13204 Commits

Author SHA1 Message Date
Ulrich Drepper
d3761ebcc6 Add BZ 2012-01-07 10:57:05 -05:00
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
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
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
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
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
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
Ulrich Drepper
aed9d17150 Add feraiseexcept optimization for x86-32 2011-12-22 17:52:30 -05:00
Ulrich Drepper
db910efdbd Also retrieve SSE exceptions in x86-32 fegetexceptflag 2011-12-22 16:28:08 -05:00
Ulrich Drepper
2797beae36 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-12-22 14:23:28 -05:00
Liubov Dmitrieva
2bd779ae3f Fix overrun in strcpy destination buffer in x86-32/SSSE3 version 2011-12-22 14:22:00 -05:00
Joseph Myers
154bfc1622 Support building bits/syscall.h for any number of subarch variants. 2011-12-22 18:22:50 +00:00
Ulrich Drepper
16c6f99208 Add brx_IN locale 2011-12-22 11:50:52 -05:00
Ulrich Drepper
4104316861 Optimize tr_freehook 2011-12-22 11:38:32 -05:00
Ulrich Drepper
21eaf3a5f9 Use __REDIRECT_NTH for __feraiseexcept_renamed 2011-12-22 08:05:21 -05:00
Ulrich Drepper
4920765eb4 Define EPOLLONESHOT and EPOLLET using unsigned values 2011-12-21 22:14:05 -05:00
Ulrich Drepper
e3a851a21b Use Kahan's formula in cacosh 2011-12-21 22:08:12 -05:00
Richard B. Kreckel
b27e24b874 Fix sign errr in some cacosh results 2011-12-21 21:01:29 -05:00
Ulrich Drepper
ee190f67cc Store invocation-specific data of conversion modules in __gconv_step_data 2011-12-21 18:45:50 -05:00