Fix memory handling in strxfrm_l [BZ #16009]
[platform/upstream/glibc.git] / ChangeLog
index d671b11..09f1a80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,43 @@
+2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
+
+       [BZ #16009]
+       * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
+       weights and rules. Use do_xfrm_cached if data fits in cache,
+       do_xfrm otherwise.  Moved former main loop to...
+       * (do_xfrm_cached): New function.
+       * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
+       find_idx, find_position and stack_push.
+       * (find_idx): New function.
+       * (find_position): Likewise.
+       * localedata/sort-test.sh: Added test run for do_xfrm.
+       * localedata/xfrm-test.c (main): Added command line option
+       -nocache to run the test with strings that are too large for
+       the STRXFRM cache.
+
+2015-01-13  Torvald Riegel  <triegel@redhat.com>
+
+       * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
+       variable to lll_futex_wake call, not the value itself.
+
+2015-01-12  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17803]
+       * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
+       twom64.  Adjust value to 0x1p-64L.
+       (__scalblnl): Only return standard underflowing result for K <=
+       -64 not K <= -63; adjust exponent for underflowing result by 64
+       not 63.
+       * math/libm-test.inc (scalbn_test_data): Add more tests.
+       (scalbln_test_data): Likewise.
+
+       [BZ #17834]
+       * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
+       0x1p63L.
+       (__scalblnl): Get new exponent of adjusted subnormal value from ES
+       not HX.
+       * math/libm-test.inc (scalbn_test_data): Add more tests.
+       (scalbln_test_data): Likewise.
+
 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
            Stefani Seibold  <stefani@seibold.net>