]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
[thirdparty/glibc.git] / ChangeLog
index 0f4d7465c2a12601af0f4d6c5092d1b8f40916a8..1d0ba7165c9427bf07a323e4bf40d3e3292d2caf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,305 @@
+2019-04-11  Florian Weimer  <fweimer@redhat.com>
+
+       * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
+       comment.
+       (alloc_buffer_next): Change return type to non-const.  Update
+       comment.
+
+2019-04-10  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+
+       * manual/time.texi (Formatting Calendar Time): Add missing percent
+       sign to conversion specifier.
+
+2019-04-09  Carlos O'Donell  <carlos@redhat.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       [BZ #16573]
+       * malloc/mtrace.c: Define prototypes for all hooks.
+       (set_default_hooks): New function.
+       (set_trace_hooks): Likewise.
+       (save_default_hooks): Likewise.
+       (tr_freehook): Use new s*_hooks functions.
+       (tr_mallochook): Likewise.
+       (tr_reallochook): Likewise.
+       (tr_memalignhook): Likewise.
+       (mtrace): Likewise.
+       (muntrace): Likewise.
+
+2019-04-09  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
+       (generic_stpcpy): New function.
+       * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
+       (generic_stpncpy): New function.
+       * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
+       (generic_strcat): New function.
+       * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
+       (generic_strcpy): New function.
+       * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
+       (STUPID_STRNCAT): Remove function.
+       (generic_strncat): New function.
+       * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
+       (STUPID_STRNCPY): Remove function.
+       (generic_strncpy): New function.
+       * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
+       (generic_strnlen): New function.
+       (memchr_strnlen): New function.
+       * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
+       (memchr_strlen): Likewise.
+
+2019-04-09  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-strstr.c (input): Add realistic input text.
+       (stupid_strstr): Remove function.
+       (basic_strstr): Add function.
+       (twoway_strstr): Add function.
+       (do_one_test): Add result checking.
+       (do_test): Use new input text.  Remove accidental early matches.
+       (test_main): Improve range of tests, reduce unaligned cases.
+
+2019-04-09  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-memmem.c (simple_memmem): Remove function.
+       (basic_memmem): Add function.
+       (twoway_memmem): Add function.
+
+2019-04-09  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
+       * benchtests/bench-malloc-thread.c: Likewise.
+       * benchtests/bench-skeleton.c: Likewise.
+       * benchtests/bench-strtod.c: Likewise.
+       * benchtests/bench-timing.h: Likewise.
+
+2019-04-08  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
+       definitions.
+       * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
+       RES_INSECURE2 security checks.
+       * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
+       RES_INSECURE2 handling.
+
+2019-04-08  Florian Weimer  <fweimer@redhat.com>
+
+       resolv: Remove support for RES_USE_INET6 and the inet6 option.
+       * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
+       * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
+       GETHOSTBYNAME.
+       * resolv/Makefile (tests): Remove tst-res_use_inet6.
+       (tests-internal): Update justification for tst-resolv-res_init,
+       tst-resolv-res_init-thread.
+       (tst-res_use_inet6): Remove target.
+       (CFLAGS-tst-res_use_inet6.c): Do not set variable.
+       * resolv/res_debug.c (p_option): Remove "inet6" support.
+       * resolv/res_init.c (res_setoptions): Likewise.
+       * resolv/res_use_inet6.h: Remove file.
+       * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
+       definition.
+       (res_use_inet6): Always return false.
+       * resolv/resolv.h (RES_USE_INET6): Remove definition.
+       * resolv/resolv_context.h: Adjust file comment.
+       (struct resolv_context): Update comment on __next field.
+       (__resolv_context_put): Update comment.
+       * resolv/tst-res_use_inet6.c: Remove file.
+       * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
+       "inet6" support.
+       (test_cases): Adjust test case.
+       * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
+       (thread_byname2_af_inet6): Use old byname_inet6 code.
+       (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
+       (gai): Remove do_inet6 argument.
+       (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
+       (thread_gai_inet_inet6, thread_gai_inet6_inet6)
+       (thread_gai_unspec_inet6): Remove functions.
+       (do_test): Adjust thread_funcs.
+       * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
+       RES_USE_INET6 flag.
+       (gaih_inet): Do not disable RES_USE_INET6 flag.
+
+2019-04-05  Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
+
+       * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
+       and remove redundant code.
+
+2019-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
+       New rule.
+       * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
+       * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
+       [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
+       wcsrchr-power7.
+       (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
+       * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
+       Remove wcsrchr optimizations.
+       * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
+
+       * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
+       the loop unroll.
+
+       * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
+       New rule.
+       * sysdeps/powerpc/power6/wcschr.c: Remove file.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
+       * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
+       [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
+       wcschr-power7.
+       (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
+       * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
+       Remove wcschr optimizations.
+       * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
+
+       * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
+       the loop unroll.
+
+       * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
+       New rule.
+       * sysdeps/powerpc/power6/wcscpy.c: Remove file.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
+       * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
+       * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
+       [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
+       wcscpy-power7.
+       (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
+       * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
+       Remove wcscpy optimizations.
+       * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
+
+       * include/loop_unroll.h: New file.
+       * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
+       besides generic implementation.
+
+2019-04-03  DJ Delorie  <dj@redhat.com>
+
+       * time/tst-strftime3.c (tm_to_printed): Disable warning about
+       snprintf truncating output.
+
+2019-04-02  DJ Delorie  <dj@redhat.com>
+
+       * time/tst-strftime3.c: Add new Japanese era tests.  Fix printf
+       warning.
+
+2019-04-02  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+
+       [BZ #22964]
+       * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
+       era.
+       * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
+       (mkreftable): Add rules for the new Japanese era and the new dates.
+
+2019-04-02  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+           Rafal Luzynski  <digitalfreak@lingonborough.com>
+
+       * time/tst-strftime2.c (date_t): Explicitly define the type.
+       (dates): Use natural month and year numbers to express a date.
+       (is_before): New function to compare dates.
+       (mkreftable): Minor improvements to simplify maintenance.
+       (do_test): Reflect the changes in dates array.
+
+       [BZ #24293]
+       * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
+       hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
+       * time/tst-strftime2.c (locales): Likewise.
+       (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
+       2010-04-01, and 2011-04-01.
+       (mkreftable): Add rules for the new locales and the new dates.
+
+2019-04-01  Carlos O'Donell  <carlos@redhat.com>
+
+       * localedata/locales/ja_JP: Add comments to era entries.
+
+2019-04-01  DJ Delorie  <dj@redhat.com>
+
+       [BZ #24394]
+       * time/strptime_l.c (%Ey): Fix fencepost error.
+       * time/tst-strftime3.c: New.
+       * time/Makefile (tests): Add tst-strftime3.
+
+2019-04-01  Uros Bizjak <ubizjak@gmail.com>
+
+       * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
+       conditional branch to DIVBYZERO.  Fix unwind info.
+       * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
+       excb after conditional branch to $powerof2.  Add missing unop
+       instructions and .align directives and reorder instructions to
+       match __divqu.
+
+2019-04-01  Richard Henderson  <rth@twiddle.net>
+
+       * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
+       Do not redefine.
+       * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
+       Do not redefine.
+
+2019-03-30  Maciej W. Rozycki  <macro@wdc.com>
+
+       * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
+       $libc_cv_riscv_float_abi in `test' invocation.
+       * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
+
+2019-03-29  Paul A. Clarke  <pc@us.ibm.com>
+
+       * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
+       asm with builtin.
+       * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
+       Likewise.
+       * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
+       (_GET_SI_FPSCR): Likewise.
+       (_SET_SI_FPSCR): Likewise.
+
+2019-03-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
+       clang 2.8.
+       (signbit): Use builtin for clang 3.3.
+       (isinf): Use builtin for clang 3.7.
+
+2019-03-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
+
+2019-03-25  Andreas K. Hüttel  <dilfridge@gentoo.org>
+
+       * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
+       quote in printf.
+
 2019-03-25  Mike Crowe  <mac@mcrowe.com>
 
        * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
        (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
        HWCAP_S390_DFLT): Define.
 
-2019-03-05  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+2019-03-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
 
        [BZ #24372]
        * iconv/iconvconfig.c (write_output): Add parentheses to get rid
        (wait_tid): Adjust arguments and call futex_wait with ctid_val
        as assumed current value of ctid_ptr.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        Check that non-sysdeps headers have wrapper headers.
        * scripts/check-wrapper-headers.py: New file.
        * Rules (tests-special): Add check-wrapper-headers.out.
        (check-wrapper-headers.out): New target.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        Add missing header wrappers under include/.
        * include/ar.h: New file.
        * include/sys/vfs.h: Likewise.
        * include/wait.h: Likewise.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        * nptl_db/proc_service.h: Move to ...
        * sysdeps/nptl/proc_service.h: ... here.
        Likewise.
        * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
 
-2019-02-07  Florian Weimer  <fweimer@redhat.com>
+2019-02-08  Florian Weimer  <fweimer@redhat.com>
 
        * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
        compatibility symbols.