Commit Graph

13190 Commits

Author SHA1 Message Date
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
Andreas Schwab 707f25dfc0 Fix division by denominator with more than two limbs in strtold 2011-12-21 23:57:15 +01:00
Rafael Ávila de Espíndola d2daaa1eb6 Define x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES. 2011-12-21 13:27:09 -08:00
Ulrich Drepper a4647e727a Fix extension of array in extended printf format handling 2011-12-17 21:27:25 -05:00
Adhemerval Zanella f0b264f174 Optimized strcasecmp for Power7 2011-12-17 20:32:59 -05:00
Marek Polacek 8ef4f244ff Avoid warnings in __*_finite math function declarations with C++ 2011-12-17 20:23:16 -05:00
Ulrich Drepper 97ac2654b2 Check values from TZ file header 2011-12-17 20:18:42 -05:00
Will Schmidt 91d2a8453f Simplify code for accessing powerpc GOT 2011-12-17 15:07:31 -05:00
Adhemerval Zanella a1267ba1c6 Optimized nearbyint for PPC 2011-12-17 14:59:47 -05:00
Ross Lagerwall ad8ac1bd6a Open /etc/resolv.conf with FD_CLOEXEC 2011-12-17 14:43:40 -05:00
Ulrich Drepper 1d3e4b618a Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
Ulrich Drepper 5b330a2d90 Add tests for wcsrchr and wcscpy 2011-12-17 14:14:58 -05:00
Jeff Law 26428b7c69 Manual typo fix for _SC_NPROCESSORS_ONLN. 2011-12-14 12:52:16 -08:00
Ulrich Drepper f039c04307 Optimize generic ELF hash function a bit more 2011-12-10 11:53:44 -05:00
Andreas Schwab 850fb039ce Fix a wrong constant in powerpc hypot implementation 2011-12-06 11:12:01 +01:00