about summary refs log tree commit diff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Initialize wide struct info.Ondrej Bilka2013-05-241-3/+3
| | | | | | | | Fixes 15381. Using wide character function is on byte oriented memstream is undefined behaviour. This behaviour was masked by not initializing wide struct info. We now initialize it to cause a predictable crash.
* Fix _nl_find_msg malloc failure case, and callers.Carlos O'Donell2013-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes two issues, and perhaps should be two distinct commits, but I present it here as one for the sake of completeness. Commit 006dd86111c44572dbd3b26e9c63dd0f834d7762 fails to check malloc's return in intl/dcigettext.c (_nl_find_msg): ~~~ freemem_size = INITIAL_BLOCK_SIZE; newmem = (transmem_block_t *) malloc (freemem_size); ... newmem->next = transmem_list; transmem_list = newmem; ~~~ If malloc fails then newmem is NULL then newmem->next results in a fault. The fix is easy enough, check for newmem != NULL, and fall through to the error condition below which returns (char *) -1 e.g. resource error. The problem is that returning (char *) -1 will break all sorts of other code, so while what we did is correct, the real failure case fix is slightly broader. There are 4 other places where _nl_find_msg is called, one is OK, the other three are fixed to handle -1 error return value. No regressions on x86-64 or x86. However, no regressions isn't really a useful metric for this code. The change was tested as documented here: http://sourceware.org/glibc/wiki/Testing/WhiteBox using SystemTap for fault injection to simulate malloc failure. --- 2013-05-03 Carlos O'Donell <carlos at redhat.com> [BZ #15441] * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg returns -1. (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is null return -1. * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort loading the domain.
* Fix MIPS n32 cancellation in static libc (bug 15506).Joseph Myers2013-05-211-1/+1
|
* Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar2013-05-211-4/+4
| | | | | | | | | | | | Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
* Fix parsing of numeric hosts in gethostbyname_rAndreas Schwab2013-05-211-6/+6
|
* AArch64: Don't clobber argument for tail call to __sigjmp_save in sigsetjmpAndreas Schwab2013-05-211-1/+1
|
* PowerPC: update missing CL/NEWS bug referenceAdhemerval Zanella2013-05-201-1/+1
| | | | | | Update ChangLog bugzilla number and NEWS for commit 13d3b41a36c4f28d171a144f8a9baad3a8835981 (PowerPC: fix hypot/hypotf check for -INF).
* Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers2013-05-191-1/+1
|
* Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488).Joseph Myers2013-05-181-1/+2
|
* Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers2013-05-171-1/+1
|
* Prevent optimizing out of benchmark function callSiddhesh Poyarekar2013-05-171-1/+1
| | | | | | | | | | Resolves: #15424 The compiler would optimize the benchmark function call out of the loop and call it only once, resulting in blazingly fast times for some benchmarks (notably atan, sin and cos). Mark the inputs as volatile so that the code is forced to read again from the input for each iteration.
* MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki2013-05-161-1/+1
| | | | | | | | [BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
* Reserve new TLS field for x86 and x86_64Andreas Jaeger2013-05-151-9/+9
| | | | | | | [BZ #10686] * sysdeps/x86_64/tls.h (struct tcbhead_t): Add __private_ss field. * sysdeps/i386/tls.h (struct tcbhead_t): Likewise.
* hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell2013-05-151-6/+6
| | | | | | | | | | | | | | | | | | | | The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
* Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers2013-05-141-7/+7
|
* Make _LIB_VERSION a weak symbolSiddhesh Poyarekar2013-05-131-7/+7
| | | | | | | That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
* Add BZ #10191 to ChangeLog/NEWSAndreas Jaeger2013-05-111-14/+14
| | | | BZ #10191 was fixed some time ago without noticing at that time.
* Add getgid.c for SHChristian Grönke2013-05-101-9/+9
| | | | | [BZ #12387] * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
* Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.hAndreas Jaeger2013-05-101-1/+2
| | | | | | [BZ #15448] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
* Fix tgamma errno setting on domain error (bug 6809).Joseph Myers2013-05-101-8/+8
|
* Localize rpcgenAndreas Jaeger2013-05-101-2/+2
| | | | | | | [BZ #15395] * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for localization. Include <locale.h>.
* Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).Joseph Myers2013-05-091-2/+2
|
* Fix ldbl-128 cos range reduction near pi/2 (bug 15429).Joseph Myers2013-05-091-1/+1
|
* Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers2013-05-081-8/+8
|
* PowerPC: fix hypot/hypof FP exceptionsAdhemerval Zanella2013-05-061-1/+1
| | | | | This patch fixes hypot/hypotf spurious floating-point exceptions generate by internal operations.
* Add bug 14952 to ChangeLog and NEWSAllan McRae2013-05-031-5/+6
| | | | Fixed with commit 0695940b.
* Fix catan, catanh spurious underflows (bug 15423).Joseph Myers2013-05-011-1/+1
|
* Add bug 15416 to NEWS.Joseph Myers2013-04-301-1/+1
|
* BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger2013-04-291-4/+4
| | | | | | [BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
* BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger2013-04-291-4/+4
| | | | | | | [BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
* BZ#15380: Fix initstate error returnAndreas Jaeger2013-04-291-1/+1
| | | | | | [BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
* BZ#15086: Fix res_debug printing of optionsAndreas Jaeger2013-04-291-4/+4
| | | | | | | [BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
* Fix catan, catanh spurious overflows (bug 15409).Joseph Myers2013-04-271-1/+1
|
* Fix ia_FR postal formatNik Kalach2013-04-271-3/+3
| | | | | | | 2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
* Fix guards for qecvtAndreas Jaeger2013-04-271-4/+4
| | | | | | | [BZ #15007] * stdlib/stdlib.h: Update guards for qecvt. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with <stdlib.h>.
* Fix catan, catanh missing underflows (bug 15406).Joseph Myers2013-04-261-1/+2
|
* Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers2013-04-261-1/+1
|
* Add missing bug numbers to NEWS.Joseph Myers2013-04-251-5/+5
|
* Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers2013-04-241-1/+1
|
* Consistently use ISSPACE to check for whitespaceSiddhesh Poyarekar2013-04-231-4/+4
| | | | | | | | Resolves #14888. This only really manifests itself when there are no spaces between format specifiers, which is not allowed by POSIX, but is allowed by the glibc implementation.
* BZ#15361: Make aio_fsync not check open modes.Roland McGrath2013-04-121-1/+1
|
* Don't accept exp char without preceding digits in scanf float parsingAndreas Schwab2013-04-111-6/+6
|
* Fix invalid free of memory allocated during rtld initAndreas Schwab2013-04-111-5/+5
|
* Accept leading and trailing spaces in getdate input stringSiddhesh Poyarekar2013-04-101-1/+1
| | | | | | | | | | Fixes #15346. The POSIX description of getdate allows for extra spaces in the getdate input string. __getdate_r uses strptime internally, which works fine with extra spaces between format strings (and hence within an input string) but not with leading and trailing spaces. So we trim off the leading and trailing spaces before we pass it on to strptime.
* dl_open_worker: Memset all of seen array.Carlos O'Donell2013-04-061-1/+2
| | | | | | | | | | | | | The seen array was doubled in size recently, but the memset to clear the array was not adjusted. We adjust the memset to always be correct regardless of the size of seen. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> [BZ #15309] * elf/dl-open.c (dl_open_worker): memset all of seen array.
* i386: Fail at configure time for i386 builds.Carlos O'Donell2013-04-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change does two things: * Treats a target i386-* as if it were i686. * Fails configure if the user is generating code for i386. We no longer support i386 code-generation because the i386 lacks the atomic operations we need in glibc. You can still configure for i386-*, but you get i686 code. You can't build with --march=i386, --mtune=i386 or a compiler that defaults to i386 code-generation. I've added two i386 entries in the master todo list to discuss merging and renaming: http://sourceware.org/glibc/wiki/Development_Todo/Master#i386 The failure modes are fail-safe here. You compile for i386, get i686, and try to run on i386 and it fails. The configure log has a warning saying we elided to i686. There is no situation that I can see where we run into any serious problems. The patch makes the current state better in that we get less confused users and we build successfully in more default configurations. The next enhancement would be to add --march=i?86 as suggested in #c20 of BZ#10062 for any i?86-* builds, which would solve the problem of a 32-bit compiler that defaults to i386 code-gen and glibc configured for i686-* target. Which previously failed at build time, and now will fail at configure time (requires adding --march=i686). Updated NEWS with BZ #10060 and #10062. No regressions. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> [BZ #10060, #10062] * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro. * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and fail configure if __sync_val_compare_and_swap is not inlined. * sysdeps/i386/configure: Regenerate. * configure.in: Build for i686 when configured for i386. * configure: Regenerate. * README: Remove i386 reference.
* [BZ #14686, #15336] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2013-04-051-4/+4
|
* [BZ #15335, #15342] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2013-04-051-1/+1
|
* Add BZ #15337 to NEWSSiddhesh Poyarekar2013-04-041-1/+1
|
* Fix missing underflow from cexp (bug 14478).Joseph Myers2013-04-031-4/+4
|