From 5f59a34ab747dde8ede7357f3431bf06bd6002fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Mar 2026 17:28:33 +0100 Subject: New upstream version 1.4.2 --- ChangeLog | 25 + Makefile.in | 14 + NEWS | 3 + README | 2 +- aclocal.m4 | 2 + build-aux/config.rpath | 4 +- build-aux/gitlog-to-changelog | 2 +- build-aux/run-test | 4 +- config.h.in | 132 +- configure | 544 +++- doc/Makefile.in | 14 + doc/libunistring_1.html | 4 +- doc/libunistring_10.html | 4 +- doc/libunistring_11.html | 4 +- doc/libunistring_12.html | 4 +- doc/libunistring_13.html | 4 +- doc/libunistring_14.html | 4 +- doc/libunistring_15.html | 4 +- doc/libunistring_16.html | 4 +- doc/libunistring_17.html | 4 +- doc/libunistring_18.html | 4 +- doc/libunistring_19.html | 4 +- doc/libunistring_2.html | 4 +- doc/libunistring_20.html | 4 +- doc/libunistring_21.html | 4 +- doc/libunistring_22.html | 4 +- doc/libunistring_23.html | 4 +- doc/libunistring_3.html | 4 +- doc/libunistring_4.html | 4 +- doc/libunistring_5.html | 4 +- doc/libunistring_6.html | 4 +- doc/libunistring_7.html | 4 +- doc/libunistring_8.html | 4 +- doc/libunistring_9.html | 4 +- doc/libunistring_abt.html | 6 +- doc/libunistring_fot.html | 4 +- doc/libunistring_toc.html | 4 +- doc/stamp-vti | 4 +- doc/version.texi | 4 +- gnulib-local/Makefile.in | 14 + gnulib-m4/00gnulib.m4 | 2 +- gnulib-m4/__inline.m4 | 2 +- gnulib-m4/absolute-header.m4 | 2 +- gnulib-m4/alloca.m4 | 2 +- gnulib-m4/arpa_inet_h.m4 | 2 +- gnulib-m4/assert_h.m4 | 2 +- gnulib-m4/btowc.m4 | 2 +- gnulib-m4/build-to-host.m4 | 2 +- gnulib-m4/builtin-expect.m4 | 2 +- gnulib-m4/c-bool.m4 | 2 +- gnulib-m4/c32rtomb.m4 | 2 +- gnulib-m4/calloc.m4 | 2 +- gnulib-m4/close.m4 | 2 +- gnulib-m4/codeset.m4 | 2 +- gnulib-m4/ctype_h.m4 | 2 +- gnulib-m4/double-slash-root.m4 | 2 +- gnulib-m4/dup2.m4 | 2 +- gnulib-m4/environ.m4 | 2 +- gnulib-m4/errno_h.m4 | 2 +- gnulib-m4/error.m4 | 2 +- gnulib-m4/error_h.m4 | 2 +- gnulib-m4/exponentd.m4 | 2 +- gnulib-m4/exponentf.m4 | 2 +- gnulib-m4/exponentl.m4 | 2 +- gnulib-m4/extensions-aix.m4 | 2 +- gnulib-m4/extensions.m4 | 2 +- gnulib-m4/extern-inline.m4 | 4 +- gnulib-m4/fcntl-o.m4 | 2 +- gnulib-m4/fcntl.m4 | 2 +- gnulib-m4/fcntl_h.m4 | 8 +- gnulib-m4/fdopen.m4 | 2 +- gnulib-m4/flexmember.m4 | 2 +- gnulib-m4/float_h.m4 | 2 +- gnulib-m4/fpieee.m4 | 2 +- gnulib-m4/free.m4 | 2 +- gnulib-m4/frexp.m4 | 2 +- gnulib-m4/frexpl.m4 | 2 +- gnulib-m4/fseterr.m4 | 2 +- gnulib-m4/fstat.m4 | 2 +- gnulib-m4/ftruncate.m4 | 2 +- gnulib-m4/getcwd.m4 | 2 +- gnulib-m4/getdtablesize.m4 | 2 +- gnulib-m4/getlocalename_l.m4 | 25 +- gnulib-m4/getprogname.m4 | 10 +- gnulib-m4/gettext_h.m4 | 2 +- gnulib-m4/gettimeofday.m4 | 2 +- gnulib-m4/gnulib-cache.m4 | 2 +- gnulib-m4/gnulib-common.m4 | 113 +- gnulib-m4/gnulib-comp.m4 | 54 +- gnulib-m4/gnulib-i18n.m4 | 2 +- gnulib-m4/host-cpu-c-abi.m4 | 2 +- gnulib-m4/iconv.m4 | 2 +- gnulib-m4/iconv_h.m4 | 2 +- gnulib-m4/iconv_open.m4 | 2 +- gnulib-m4/include_next.m4 | 2 +- gnulib-m4/inet_pton.m4 | 7 +- gnulib-m4/init-package-version.m4 | 2 +- gnulib-m4/inline.m4 | 2 +- gnulib-m4/intl-thread-locale.m4 | 2 +- gnulib-m4/intlmacosx.m4 | 2 +- gnulib-m4/intmax_t.m4 | 2 +- gnulib-m4/inttypes.m4 | 2 +- gnulib-m4/inttypes_h.m4 | 2 +- gnulib-m4/ioctl.m4 | 2 +- gnulib-m4/isblank.m4 | 2 +- gnulib-m4/isnand.m4 | 2 +- gnulib-m4/isnanf.m4 | 2 +- gnulib-m4/isnanl.m4 | 2 +- gnulib-m4/iswblank.m4 | 2 +- gnulib-m4/iswdigit.m4 | 2 +- gnulib-m4/iswpunct.m4 | 2 +- gnulib-m4/iswxdigit.m4 | 2 +- gnulib-m4/largefile.m4 | 2 +- gnulib-m4/lcmessage.m4 | 2 +- gnulib-m4/ldexpl.m4 | 2 +- gnulib-m4/lib-ld.m4 | 2 +- gnulib-m4/lib-link.m4 | 2 +- gnulib-m4/lib-prefix.m4 | 2 +- gnulib-m4/libdl.m4 | 46 + gnulib-m4/libunistring-base.m4 | 2 +- gnulib-m4/limits-h.m4 | 2 +- gnulib-m4/localcharset.m4 | 2 +- gnulib-m4/locale-ar.m4 | 2 +- gnulib-m4/locale-en.m4 | 4 +- gnulib-m4/locale-fr.m4 | 4 +- gnulib-m4/locale-ja.m4 | 2 +- gnulib-m4/locale-tr.m4 | 2 +- gnulib-m4/locale-zh.m4 | 2 +- gnulib-m4/locale_h.m4 | 2 +- gnulib-m4/localeconv.m4 | 2 +- gnulib-m4/localename.m4 | 2 +- gnulib-m4/lock.m4 | 2 +- gnulib-m4/lstat.m4 | 2 +- gnulib-m4/malloc.m4 | 65 +- gnulib-m4/malloca.m4 | 2 +- gnulib-m4/math_h.m4 | 9 +- gnulib-m4/mbchar.m4 | 2 +- gnulib-m4/mbiter.m4 | 2 +- gnulib-m4/mbrtoc32.m4 | 2 +- gnulib-m4/mbrtowc.m4 | 2 +- gnulib-m4/mbsinit.m4 | 2 +- gnulib-m4/mbstate_t.m4 | 2 +- gnulib-m4/mbtowc.m4 | 2 +- gnulib-m4/memchr.m4 | 2 +- gnulib-m4/minmax.m4 | 2 +- gnulib-m4/mkfifo.m4 | 2 +- gnulib-m4/mmap-anon.m4 | 2 +- gnulib-m4/mode_t.m4 | 2 +- gnulib-m4/msvc-inval.m4 | 2 +- gnulib-m4/msvc-nothrow.m4 | 2 +- gnulib-m4/multiarch.m4 | 2 +- gnulib-m4/musl.m4 | 2 +- gnulib-m4/nan-mips.m4 | 2 +- gnulib-m4/nanosleep.m4 | 23 +- gnulib-m4/netinet_in_h.m4 | 2 +- gnulib-m4/nocrash.m4 | 2 +- gnulib-m4/off64_t.m4 | 2 +- gnulib-m4/off_t.m4 | 2 +- gnulib-m4/once.m4 | 2 +- gnulib-m4/open-cloexec.m4 | 2 +- gnulib-m4/open-slash.m4 | 2 +- gnulib-m4/open.m4 | 2 +- gnulib-m4/pathmax.m4 | 2 +- gnulib-m4/perror.m4 | 2 +- gnulib-m4/pipe.m4 | 2 +- gnulib-m4/printf-frexp.m4 | 2 +- gnulib-m4/printf-frexpl.m4 | 2 +- gnulib-m4/printf.m4 | 6 +- gnulib-m4/pselect.m4 | 2 +- gnulib-m4/pthread-cond.m4 | 2 +- gnulib-m4/pthread-mutex.m4 | 2 +- gnulib-m4/pthread-once.m4 | 2 +- gnulib-m4/pthread-rwlock.m4 | 2 +- gnulib-m4/pthread-spin.m4 | 2 +- gnulib-m4/pthread-thread.m4 | 2 +- gnulib-m4/pthread_h.m4 | 2 +- gnulib-m4/pthread_mutex_timedlock.m4 | 2 +- gnulib-m4/pthread_rwlock_rdlock.m4 | 2 +- gnulib-m4/pthread_sigmask.m4 | 2 +- gnulib-m4/putenv.m4 | 2 +- gnulib-m4/raise.m4 | 2 +- gnulib-m4/random.m4 | 2 +- gnulib-m4/random_r.m4 | 2 +- gnulib-m4/realloc.m4 | 49 +- gnulib-m4/reallocarray.m4 | 2 +- gnulib-m4/relocatable-lib.m4 | 12 +- gnulib-m4/sched_h.m4 | 2 +- gnulib-m4/sched_yield.m4 | 2 +- gnulib-m4/select.m4 | 2 +- gnulib-m4/semaphore.m4 | 2 +- gnulib-m4/setenv.m4 | 2 +- gnulib-m4/setlocale.m4 | 2 +- gnulib-m4/setlocale_null.m4 | 2 +- gnulib-m4/signal_h.m4 | 2 +- gnulib-m4/signalblocking.m4 | 2 +- gnulib-m4/signbit.m4 | 2 +- gnulib-m4/size_max.m4 | 2 +- gnulib-m4/sleep.m4 | 2 +- gnulib-m4/snan.m4 | 2 +- gnulib-m4/socketlib.m4 | 2 +- gnulib-m4/sockets.m4 | 2 +- gnulib-m4/socklen.m4 | 2 +- gnulib-m4/sockpfaf.m4 | 2 +- gnulib-m4/ssize_t.m4 | 2 +- gnulib-m4/stat-time.m4 | 2 +- gnulib-m4/stat.m4 | 2 +- gnulib-m4/stdalign.m4 | 6 +- gnulib-m4/stdckdint_h.m4 | 2 +- gnulib-m4/stddef_h.m4 | 2 +- gnulib-m4/stdint.m4 | 2 +- gnulib-m4/stdint_h.m4 | 2 +- gnulib-m4/stdio_h.m4 | 2 +- gnulib-m4/stdlib_h.m4 | 5 +- gnulib-m4/stpcpy.m4 | 2 +- gnulib-m4/strerror.m4 | 2 +- gnulib-m4/strerror_r.m4 | 2 +- gnulib-m4/string_h.m4 | 9 +- gnulib-m4/stringeq.m4 | 2 +- gnulib-m4/strncat.m4 | 2 +- gnulib-m4/strncpy.m4 | 94 + gnulib-m4/strstr.m4 | 2 +- gnulib-m4/symlink.m4 | 2 +- gnulib-m4/sys_cdefs_h.m4 | 2 +- gnulib-m4/sys_ioctl_h.m4 | 2 +- gnulib-m4/sys_select_h.m4 | 2 +- gnulib-m4/sys_socket_h.m4 | 2 +- gnulib-m4/sys_stat_h.m4 | 2 +- gnulib-m4/sys_time_h.m4 | 2 +- gnulib-m4/sys_types_h.m4 | 2 +- gnulib-m4/sys_uio_h.m4 | 2 +- gnulib-m4/thread.m4 | 2 +- gnulib-m4/threadlib.m4 | 2 +- gnulib-m4/time.m4 | 2 +- gnulib-m4/time_h.m4 | 2 +- gnulib-m4/uchar_h.m4 | 2 +- gnulib-m4/unicase_h.m4 | 2 +- gnulib-m4/unictype_h.m4 | 2 +- gnulib-m4/unimetadata_h.m4 | 2 +- gnulib-m4/uninorm_h.m4 | 2 +- gnulib-m4/unistd_h.m4 | 2 +- gnulib-m4/unitypes_h.m4 | 2 +- gnulib-m4/usleep.m4 | 2 +- gnulib-m4/vasnprintf.m4 | 2 +- gnulib-m4/visibility.m4 | 2 +- gnulib-m4/warn-on-use.m4 | 2 +- gnulib-m4/wchar_h.m4 | 2 +- gnulib-m4/wcrtomb.m4 | 2 +- gnulib-m4/wctob.m4 | 2 +- gnulib-m4/wctomb.m4 | 2 +- gnulib-m4/wctype_h.m4 | 2 +- gnulib-m4/wcwidth.m4 | 2 +- gnulib-m4/windows-rc.m4 | 2 +- gnulib-m4/wint_t.m4 | 2 +- gnulib-m4/xalloc.m4 | 2 +- gnulib-m4/xgetcwd.m4 | 2 +- gnulib-m4/xsize.m4 | 2 +- gnulib-m4/yield.m4 | 2 +- gnulib-m4/zzgnulib.m4 | 2 +- install-tests/Makefile.in | 14 + lib/Makefile.am | 4 + lib/Makefile.gnulib | 31 +- lib/Makefile.in | 2695 ++++++++++---------- lib/_Noreturn.h | 2 +- lib/alloca.in.h | 2 +- lib/amemxfrm.c | 32 +- lib/amemxfrm.h | 2 +- lib/arg-nonnull.h | 2 +- lib/array-mergesort.h | 2 +- lib/assert.in.h | 2 +- lib/attribute.h | 108 +- lib/c++defs.h | 14 +- lib/c-ctype.c | 5 +- lib/c-ctype.h | 2 +- lib/c-strcase.h | 2 +- lib/c-strcasecmp.c | 35 +- lib/c-strcaseeq.h | 2 +- lib/c32is-impl.h | 4 +- lib/c32isalnum.c | 2 +- lib/c32isalpha.c | 2 +- lib/c32isblank.c | 2 +- lib/c32iscntrl.c | 2 +- lib/c32isdigit.c | 2 +- lib/c32isgraph.c | 2 +- lib/c32islower.c | 2 +- lib/c32isprint.c | 2 +- lib/c32ispunct.c | 2 +- lib/c32isspace.c | 2 +- lib/c32isupper.c | 2 +- lib/c32isxdigit.c | 2 +- lib/c32to-impl.h | 4 +- lib/c32tolower.c | 2 +- lib/c32width.c | 4 +- lib/declared.sh | 4 +- lib/errno.in.h | 2 +- lib/fcntl.in.h | 54 +- lib/flexmember.h | 2 +- lib/float+.h | 2 +- lib/float.c | 2 +- lib/float.in.h | 4 +- lib/fpucw.h | 2 +- lib/free.c | 6 +- lib/frexp.c | 8 +- lib/frexpl.c | 2 +- lib/fseterr.c | 18 +- lib/fseterr.h | 2 +- lib/getlocalename_l-unsafe.c | 78 +- lib/getlocalename_l-unsafe.h | 2 +- lib/glthread/lock.c | 66 +- lib/glthread/lock.h | 2 +- lib/glthread/once.c | 2 +- lib/glthread/once.h | 2 +- lib/glthread/threadlib.c | 2 +- lib/hard-locale.c | 2 +- lib/hard-locale.h | 2 +- lib/iconv.c | 2 +- lib/iconv.in.h | 4 +- lib/iconv_close.c | 2 +- lib/iconv_open-aix.gperf | 2 +- lib/iconv_open-aix.h | 11 +- lib/iconv_open-hpux.gperf | 2 +- lib/iconv_open-hpux.h | 11 +- lib/iconv_open-solaris.gperf | 2 +- lib/iconv_open-solaris.h | 15 +- lib/iconv_open-zos.gperf | 2 +- lib/iconv_open-zos.h | 15 +- lib/iconv_open.c | 11 +- lib/iconveh.h | 2 +- lib/idx.h | 2 +- lib/intprops-internal.h | 10 +- lib/inttypes.in.h | 6 +- lib/isnan.c | 17 +- lib/isnand-nolibm.h | 2 +- lib/isnand.c | 2 +- lib/isnanf-nolibm.h | 2 +- lib/isnanf.c | 2 +- lib/isnanl-nolibm.h | 2 +- lib/isnanl.c | 2 +- lib/iswblank.c | 2 +- lib/iswdigit.c | 2 +- lib/iswpunct.c | 2 +- lib/iswxdigit.c | 2 +- lib/itold.c | 2 +- lib/lc-charset-dispatch.c | 4 +- lib/lc-charset-dispatch.h | 2 +- lib/limits.in.h | 2 +- lib/localcharset.c | 13 +- lib/localcharset.h | 2 +- lib/locale.in.h | 8 +- lib/localeconv.c | 2 +- lib/localename-environ.c | 44 +- lib/localename-table.c | 2 +- lib/localename-table.h | 2 +- lib/localename-unsafe.c | 238 +- lib/localename.c | 22 +- lib/localename.h | 2 +- lib/malloc.c | 2 +- lib/malloca.c | 2 +- lib/malloca.h | 2 +- lib/math.c | 2 +- lib/math.in.h | 250 +- lib/mbchar.c | 5 +- lib/mbchar.h | 2 +- lib/mbiterf.c | 5 +- lib/mbiterf.h | 2 +- lib/mbrtoc32.c | 6 +- lib/mbrtowc-impl-utf8.h | 2 +- lib/mbrtowc-impl.h | 29 +- lib/mbrtowc.c | 9 +- lib/mbsinit.c | 2 +- lib/mbsnlen.c | 2 +- lib/mbszero.c | 2 +- lib/mbtowc-lock.c | 2 +- lib/mbtowc-lock.h | 11 +- lib/memchr.c | 174 +- lib/memchr.valgrind | 2 +- lib/memcmp2.c | 2 +- lib/memcmp2.h | 2 +- lib/minmax.h | 2 +- lib/printf-args.c | 2 +- lib/printf-args.h | 2 +- lib/printf-frexp.c | 5 +- lib/printf-frexp.h | 2 +- lib/printf-frexpl.c | 2 +- lib/printf-frexpl.h | 2 +- lib/printf-parse.c | 16 +- lib/printf-parse.h | 2 +- lib/pthread-once.c | 2 +- lib/pthread.in.h | 53 +- lib/relocatable.c | 69 +- lib/relocatable.h | 2 +- lib/relocatable.valgrind | 2 +- lib/sched.in.h | 3 +- lib/setlocale-fixes.c | 12 +- lib/setlocale-fixes.h | 2 +- lib/setlocale-lock.c | 2 +- lib/setlocale_null-unlocked.c | 10 +- lib/setlocale_null.c | 15 +- lib/setlocale_null.h | 2 +- lib/signbitd.c | 2 +- lib/signbitf.c | 2 +- lib/signbitl.c | 2 +- lib/size_max.h | 2 +- lib/stdckdint.in.h | 4 +- lib/stddef.in.h | 2 +- lib/stdint.in.h | 2 +- lib/stdio-impl.h | 60 +- lib/stdlib.c | 2 +- lib/stdlib.in.h | 59 +- lib/str-two-way.h | 283 +- lib/streq-opt.h | 186 ++ lib/streq.h | 186 -- lib/striconveh.c | 135 +- lib/striconveh.h | 2 +- lib/striconveha.c | 77 +- lib/striconveha.h | 2 +- lib/string.c | 7 +- lib/string.in.h | 142 +- lib/strncat.c | 2 +- lib/strncpy.c | 38 + lib/strstr.c | 32 +- lib/struniq.h | 13 +- lib/sys_types.in.h | 2 +- lib/thread-optim.h | 2 +- lib/time.in.h | 27 +- lib/uchar.in.h | 5 +- lib/unicase.in.h | 2 +- lib/unicase/cased.c | 2 +- lib/unicase/casefold.h | 2 +- lib/unicase/caseprop.h | 2 +- lib/unicase/context.h | 2 +- lib/unicase/empty-prefix-context.c | 2 +- lib/unicase/empty-suffix-context.c | 2 +- lib/unicase/ignorable.c | 2 +- lib/unicase/invariant.h | 2 +- lib/unicase/locale-language.c | 5 +- lib/unicase/locale-languages.gperf | 2 +- lib/unicase/locale-languages.h | 12 +- lib/unicase/simple-mapping.h | 2 +- lib/unicase/special-casing.c | 2 +- lib/unicase/special-casing.in.h | 2 +- lib/unicase/tocasefold.c | 2 +- lib/unicase/tolower.c | 2 +- lib/unicase/totitle.c | 2 +- lib/unicase/toupper.c | 2 +- lib/unicase/u-casecmp.h | 22 +- lib/unicase/u-casecoll.h | 24 +- lib/unicase/u-casefold.h | 2 +- lib/unicase/u-casemap.h | 150 +- lib/unicase/u-casexfrm.h | 30 +- lib/unicase/u-ct-casefold.h | 26 +- lib/unicase/u-ct-totitle.h | 165 +- lib/unicase/u-is-cased.h | 31 +- lib/unicase/u-is-invariant.h | 21 +- lib/unicase/u-prefix-context.h | 2 +- lib/unicase/u-suffix-context.h | 2 +- lib/unicase/u-totitle.h | 2 +- lib/unicase/u16-casecmp.c | 2 +- lib/unicase/u16-casecoll.c | 2 +- lib/unicase/u16-casefold.c | 2 +- lib/unicase/u16-casemap.c | 2 +- lib/unicase/u16-casexfrm.c | 2 +- lib/unicase/u16-ct-casefold.c | 2 +- lib/unicase/u16-ct-tolower.c | 2 +- lib/unicase/u16-ct-totitle.c | 2 +- lib/unicase/u16-ct-toupper.c | 2 +- lib/unicase/u16-is-cased.c | 2 +- lib/unicase/u16-is-casefolded.c | 2 +- lib/unicase/u16-is-invariant.c | 2 +- lib/unicase/u16-is-lowercase.c | 2 +- lib/unicase/u16-is-titlecase.c | 2 +- lib/unicase/u16-is-uppercase.c | 2 +- lib/unicase/u16-prefix-context.c | 2 +- lib/unicase/u16-suffix-context.c | 2 +- lib/unicase/u16-tolower.c | 2 +- lib/unicase/u16-totitle.c | 2 +- lib/unicase/u16-toupper.c | 2 +- lib/unicase/u32-casecmp.c | 2 +- lib/unicase/u32-casecoll.c | 2 +- lib/unicase/u32-casefold.c | 2 +- lib/unicase/u32-casemap.c | 2 +- lib/unicase/u32-casexfrm.c | 2 +- lib/unicase/u32-ct-casefold.c | 2 +- lib/unicase/u32-ct-tolower.c | 2 +- lib/unicase/u32-ct-totitle.c | 2 +- lib/unicase/u32-ct-toupper.c | 2 +- lib/unicase/u32-is-cased.c | 2 +- lib/unicase/u32-is-casefolded.c | 2 +- lib/unicase/u32-is-invariant.c | 2 +- lib/unicase/u32-is-lowercase.c | 2 +- lib/unicase/u32-is-titlecase.c | 2 +- lib/unicase/u32-is-uppercase.c | 2 +- lib/unicase/u32-prefix-context.c | 2 +- lib/unicase/u32-suffix-context.c | 2 +- lib/unicase/u32-tolower.c | 2 +- lib/unicase/u32-totitle.c | 2 +- lib/unicase/u32-toupper.c | 2 +- lib/unicase/u8-casecmp.c | 2 +- lib/unicase/u8-casecoll.c | 2 +- lib/unicase/u8-casefold.c | 5 +- lib/unicase/u8-casemap.c | 2 +- lib/unicase/u8-casexfrm.c | 2 +- lib/unicase/u8-ct-casefold.c | 2 +- lib/unicase/u8-ct-tolower.c | 2 +- lib/unicase/u8-ct-totitle.c | 2 +- lib/unicase/u8-ct-toupper.c | 2 +- lib/unicase/u8-is-cased.c | 2 +- lib/unicase/u8-is-casefolded.c | 2 +- lib/unicase/u8-is-invariant.c | 2 +- lib/unicase/u8-is-lowercase.c | 2 +- lib/unicase/u8-is-titlecase.c | 2 +- lib/unicase/u8-is-uppercase.c | 2 +- lib/unicase/u8-prefix-context.c | 2 +- lib/unicase/u8-suffix-context.c | 2 +- lib/unicase/u8-tolower.c | 5 +- lib/unicase/u8-totitle.c | 5 +- lib/unicase/u8-toupper.c | 5 +- lib/unicase/ulc-casecmp.c | 16 +- lib/unicase/ulc-casecoll.c | 2 +- lib/unicase/ulc-casexfrm.c | 16 +- lib/unicase/unicasemap.h | 2 +- lib/uniconv.in.h | 2 +- lib/uniconv/u-conv-from-enc.h | 20 +- lib/uniconv/u-conv-to-enc.h | 43 +- lib/uniconv/u-strconv-from-enc.h | 6 +- lib/uniconv/u-strconv-to-enc.h | 9 +- lib/uniconv/u16-conv-from-enc.c | 2 +- lib/uniconv/u16-conv-to-enc.c | 22 +- lib/uniconv/u16-strconv-from-enc.c | 2 +- lib/uniconv/u16-strconv-from-locale.c | 2 +- lib/uniconv/u16-strconv-to-enc.c | 2 +- lib/uniconv/u16-strconv-to-locale.c | 2 +- lib/uniconv/u32-conv-from-enc.c | 2 +- lib/uniconv/u32-conv-to-enc.c | 2 +- lib/uniconv/u32-strconv-from-enc.c | 2 +- lib/uniconv/u32-strconv-from-locale.c | 2 +- lib/uniconv/u32-strconv-to-enc.c | 2 +- lib/uniconv/u32-strconv-to-locale.c | 2 +- lib/uniconv/u8-conv-from-enc.c | 30 +- lib/uniconv/u8-conv-to-enc.c | 5 +- lib/uniconv/u8-strconv-from-enc.c | 2 +- lib/uniconv/u8-strconv-from-locale.c | 2 +- lib/uniconv/u8-strconv-to-enc.c | 13 +- lib/uniconv/u8-strconv-to-locale.c | 2 +- lib/unictype.in.h | 2 +- lib/unictype/bidi_byname.c | 9 +- lib/unictype/bidi_byname.gperf | 2 +- lib/unictype/bidi_byname.h | 15 +- lib/unictype/bidi_longname.c | 2 +- lib/unictype/bidi_name.c | 2 +- lib/unictype/bidi_of.c | 2 +- lib/unictype/bidi_test.c | 2 +- lib/unictype/bitmap.h | 2 +- lib/unictype/block_test.c | 2 +- lib/unictype/blocks.c | 2 +- lib/unictype/categ_C.c | 2 +- lib/unictype/categ_Cc.c | 2 +- lib/unictype/categ_Cf.c | 2 +- lib/unictype/categ_Cn.c | 2 +- lib/unictype/categ_Co.c | 2 +- lib/unictype/categ_Cs.c | 2 +- lib/unictype/categ_L.c | 2 +- lib/unictype/categ_LC.c | 2 +- lib/unictype/categ_Ll.c | 2 +- lib/unictype/categ_Lm.c | 2 +- lib/unictype/categ_Lo.c | 2 +- lib/unictype/categ_Lt.c | 2 +- lib/unictype/categ_Lu.c | 2 +- lib/unictype/categ_M.c | 2 +- lib/unictype/categ_Mc.c | 2 +- lib/unictype/categ_Me.c | 2 +- lib/unictype/categ_Mn.c | 2 +- lib/unictype/categ_N.c | 2 +- lib/unictype/categ_Nd.c | 2 +- lib/unictype/categ_Nl.c | 2 +- lib/unictype/categ_No.c | 2 +- lib/unictype/categ_P.c | 2 +- lib/unictype/categ_Pc.c | 2 +- lib/unictype/categ_Pd.c | 2 +- lib/unictype/categ_Pe.c | 2 +- lib/unictype/categ_Pf.c | 2 +- lib/unictype/categ_Pi.c | 2 +- lib/unictype/categ_Po.c | 2 +- lib/unictype/categ_Ps.c | 2 +- lib/unictype/categ_S.c | 2 +- lib/unictype/categ_Sc.c | 2 +- lib/unictype/categ_Sk.c | 2 +- lib/unictype/categ_Sm.c | 2 +- lib/unictype/categ_So.c | 2 +- lib/unictype/categ_Z.c | 2 +- lib/unictype/categ_Zl.c | 2 +- lib/unictype/categ_Zp.c | 2 +- lib/unictype/categ_Zs.c | 2 +- lib/unictype/categ_and.c | 8 +- lib/unictype/categ_and_not.c | 8 +- lib/unictype/categ_byname.c | 10 +- lib/unictype/categ_byname.gperf | 2 +- lib/unictype/categ_byname.h | 19 +- lib/unictype/categ_longname.c | 2 +- lib/unictype/categ_name.c | 2 +- lib/unictype/categ_none.c | 2 +- lib/unictype/categ_of.c | 4 +- lib/unictype/categ_or.c | 8 +- lib/unictype/categ_test.c | 2 +- lib/unictype/combiningclass.c | 2 +- lib/unictype/combiningclass_byname.c | 10 +- lib/unictype/combiningclass_byname.gperf | 2 +- lib/unictype/combiningclass_byname.h | 15 +- lib/unictype/combiningclass_longname.c | 3 +- lib/unictype/combiningclass_name.c | 3 +- lib/unictype/ctype_alnum.c | 2 +- lib/unictype/ctype_alpha.c | 2 +- lib/unictype/ctype_blank.c | 2 +- lib/unictype/ctype_cntrl.c | 2 +- lib/unictype/ctype_digit.c | 2 +- lib/unictype/ctype_graph.c | 2 +- lib/unictype/ctype_lower.c | 2 +- lib/unictype/ctype_print.c | 2 +- lib/unictype/ctype_punct.c | 2 +- lib/unictype/ctype_space.c | 2 +- lib/unictype/ctype_upper.c | 2 +- lib/unictype/ctype_xdigit.c | 2 +- lib/unictype/decdigit.c | 2 +- lib/unictype/digit.c | 2 +- lib/unictype/identsyntaxmap.h | 2 +- lib/unictype/incb_byname.c | 10 +- lib/unictype/incb_byname.gperf | 2 +- lib/unictype/incb_byname.h | 11 +- lib/unictype/incb_name.c | 2 +- lib/unictype/incb_name.h | 2 +- lib/unictype/incb_of.c | 2 +- lib/unictype/joininggroup_byname.c | 10 +- lib/unictype/joininggroup_byname.gperf | 2 +- lib/unictype/joininggroup_name.c | 2 +- lib/unictype/joininggroup_name.h | 2 +- lib/unictype/joininggroup_of.c | 2 +- lib/unictype/joiningtype_byname.c | 10 +- lib/unictype/joiningtype_byname.gperf | 2 +- lib/unictype/joiningtype_byname.h | 11 +- lib/unictype/joiningtype_longname.c | 2 +- lib/unictype/joiningtype_name.c | 2 +- lib/unictype/joiningtype_of.c | 2 +- lib/unictype/mirror.c | 2 +- lib/unictype/numeric.c | 2 +- lib/unictype/pr_alphabetic.c | 2 +- lib/unictype/pr_ascii_hex_digit.c | 2 +- lib/unictype/pr_bidi_arabic_digit.c | 2 +- lib/unictype/pr_bidi_arabic_right_to_left.c | 2 +- lib/unictype/pr_bidi_block_separator.c | 2 +- lib/unictype/pr_bidi_boundary_neutral.c | 2 +- lib/unictype/pr_bidi_common_separator.c | 2 +- lib/unictype/pr_bidi_control.c | 2 +- lib/unictype/pr_bidi_embedding_or_override.c | 2 +- lib/unictype/pr_bidi_eur_num_separator.c | 2 +- lib/unictype/pr_bidi_eur_num_terminator.c | 2 +- lib/unictype/pr_bidi_european_digit.c | 2 +- lib/unictype/pr_bidi_hebrew_right_to_left.c | 2 +- lib/unictype/pr_bidi_left_to_right.c | 2 +- lib/unictype/pr_bidi_non_spacing_mark.c | 2 +- lib/unictype/pr_bidi_other_neutral.c | 2 +- lib/unictype/pr_bidi_pdf.c | 2 +- lib/unictype/pr_bidi_segment_separator.c | 2 +- lib/unictype/pr_bidi_whitespace.c | 2 +- lib/unictype/pr_byname.c | 42 +- lib/unictype/pr_byname.gperf | 2 +- lib/unictype/pr_byname.h | 27 +- lib/unictype/pr_case_ignorable.c | 2 +- lib/unictype/pr_cased.c | 2 +- lib/unictype/pr_changes_when_casefolded.c | 2 +- lib/unictype/pr_changes_when_casemapped.c | 2 +- lib/unictype/pr_changes_when_lowercased.c | 2 +- lib/unictype/pr_changes_when_titlecased.c | 2 +- lib/unictype/pr_changes_when_uppercased.c | 2 +- lib/unictype/pr_combining.c | 2 +- lib/unictype/pr_composite.c | 2 +- lib/unictype/pr_currency_symbol.c | 2 +- lib/unictype/pr_dash.c | 2 +- lib/unictype/pr_decimal_digit.c | 2 +- lib/unictype/pr_default_ignorable_code_point.c | 2 +- lib/unictype/pr_deprecated.c | 2 +- lib/unictype/pr_diacritic.c | 2 +- lib/unictype/pr_emoji.c | 2 +- lib/unictype/pr_emoji_component.c | 2 +- lib/unictype/pr_emoji_modifier.c | 2 +- lib/unictype/pr_emoji_modifier_base.c | 2 +- lib/unictype/pr_emoji_presentation.c | 2 +- lib/unictype/pr_extended_pictographic.c | 2 +- lib/unictype/pr_extender.c | 2 +- lib/unictype/pr_format_control.c | 2 +- lib/unictype/pr_grapheme_base.c | 2 +- lib/unictype/pr_grapheme_extend.c | 2 +- lib/unictype/pr_grapheme_link.c | 2 +- lib/unictype/pr_hex_digit.c | 2 +- lib/unictype/pr_hyphen.c | 2 +- lib/unictype/pr_id_compat_math_continue.c | 2 +- lib/unictype/pr_id_compat_math_start.c | 2 +- lib/unictype/pr_id_continue.c | 2 +- lib/unictype/pr_id_start.c | 2 +- lib/unictype/pr_ideographic.c | 2 +- lib/unictype/pr_ids_binary_operator.c | 2 +- lib/unictype/pr_ids_trinary_operator.c | 2 +- lib/unictype/pr_ids_unary_operator.c | 2 +- lib/unictype/pr_ignorable_control.c | 2 +- lib/unictype/pr_iso_control.c | 2 +- lib/unictype/pr_join_control.c | 2 +- lib/unictype/pr_left_of_pair.c | 2 +- lib/unictype/pr_line_separator.c | 2 +- lib/unictype/pr_logical_order_exception.c | 2 +- lib/unictype/pr_lowercase.c | 2 +- lib/unictype/pr_math.c | 2 +- lib/unictype/pr_modifier_combining_mark.c | 2 +- lib/unictype/pr_non_break.c | 2 +- lib/unictype/pr_not_a_character.c | 2 +- lib/unictype/pr_numeric.c | 2 +- lib/unictype/pr_other_alphabetic.c | 2 +- .../pr_other_default_ignorable_code_point.c | 2 +- lib/unictype/pr_other_grapheme_extend.c | 2 +- lib/unictype/pr_other_id_continue.c | 2 +- lib/unictype/pr_other_id_start.c | 2 +- lib/unictype/pr_other_lowercase.c | 2 +- lib/unictype/pr_other_math.c | 2 +- lib/unictype/pr_other_uppercase.c | 2 +- lib/unictype/pr_paired_punctuation.c | 2 +- lib/unictype/pr_paragraph_separator.c | 2 +- lib/unictype/pr_pattern_syntax.c | 2 +- lib/unictype/pr_pattern_white_space.c | 2 +- lib/unictype/pr_prepended_concatenation_mark.c | 2 +- lib/unictype/pr_private_use.c | 2 +- lib/unictype/pr_punctuation.c | 2 +- lib/unictype/pr_quotation_mark.c | 2 +- lib/unictype/pr_radical.c | 2 +- lib/unictype/pr_regional_indicator.c | 2 +- lib/unictype/pr_sentence_terminal.c | 2 +- lib/unictype/pr_soft_dotted.c | 2 +- lib/unictype/pr_space.c | 2 +- lib/unictype/pr_terminal_punctuation.c | 2 +- lib/unictype/pr_test.c | 2 +- lib/unictype/pr_titlecase.c | 2 +- lib/unictype/pr_unassigned_code_value.c | 2 +- lib/unictype/pr_unified_ideograph.c | 2 +- lib/unictype/pr_uppercase.c | 2 +- lib/unictype/pr_variation_selector.c | 2 +- lib/unictype/pr_white_space.c | 2 +- lib/unictype/pr_xid_continue.c | 2 +- lib/unictype/pr_xid_start.c | 2 +- lib/unictype/pr_zero_width.c | 2 +- lib/unictype/scripts.c | 7 +- lib/unictype/sy_c_ident.c | 2 +- lib/unictype/sy_c_whitespace.c | 2 +- lib/unictype/sy_java_ident.c | 2 +- lib/unictype/sy_java_whitespace.c | 2 +- lib/unigbrk.in.h | 2 +- lib/unigbrk/u-grapheme-breaks.h | 2 +- lib/unigbrk/u-grapheme-next.h | 2 +- lib/unigbrk/u-grapheme-prev.h | 18 +- lib/unigbrk/u16-grapheme-breaks.c | 2 +- lib/unigbrk/u16-grapheme-next.c | 2 +- lib/unigbrk/u16-grapheme-prev.c | 2 +- lib/unigbrk/u32-grapheme-breaks.c | 2 +- lib/unigbrk/u32-grapheme-next.c | 2 +- lib/unigbrk/u32-grapheme-prev.c | 2 +- lib/unigbrk/u8-grapheme-breaks.c | 2 +- lib/unigbrk/u8-grapheme-next.c | 2 +- lib/unigbrk/u8-grapheme-prev.c | 2 +- lib/unigbrk/uc-gbrk-prop.c | 2 +- lib/unigbrk/uc-grapheme-breaks.c | 2 +- lib/unigbrk/uc-is-grapheme-break.c | 8 +- lib/unigbrk/ulc-grapheme-breaks.c | 17 +- lib/unilbrk.in.h | 2 +- lib/unilbrk/internal.h | 2 +- lib/unilbrk/lbrktables.h | 2 +- lib/unilbrk/u16-possible-linebreaks.c | 2 +- lib/unilbrk/u16-width-linebreaks.c | 19 +- lib/unilbrk/u32-possible-linebreaks.c | 2 +- lib/unilbrk/u32-width-linebreaks.c | 19 +- lib/unilbrk/u8-possible-linebreaks.c | 8 +- lib/unilbrk/u8-width-linebreaks.c | 25 +- lib/unilbrk/ulc-common.c | 2 +- lib/unilbrk/ulc-common.h | 2 +- lib/unilbrk/ulc-possible-linebreaks.c | 19 +- lib/unilbrk/ulc-width-linebreaks.c | 23 +- lib/unimetadata.in.h | 2 +- lib/uniname.in.h | 2 +- lib/uniname/gen-uninames.lisp | 2 +- lib/uniname/uniname.c | 57 +- lib/uninorm.in.h | 2 +- lib/uninorm/canonical-decomposition.c | 28 +- lib/uninorm/compat-decomposition.c | 2 +- lib/uninorm/composition.c | 6 +- lib/uninorm/decompose-internal.c | 2 +- lib/uninorm/decompose-internal.h | 2 +- lib/uninorm/decomposing-form.c | 2 +- lib/uninorm/decomposition-table.c | 2 +- lib/uninorm/decomposition-table.h | 2 +- lib/uninorm/decomposition.c | 28 +- lib/uninorm/nfc.c | 2 +- lib/uninorm/nfd.c | 2 +- lib/uninorm/nfkc.c | 2 +- lib/uninorm/nfkd.c | 2 +- lib/uninorm/normalize-internal.h | 2 +- lib/uninorm/u-normalize-internal.h | 117 +- lib/uninorm/u-normcmp.h | 22 +- lib/uninorm/u-normcoll.h | 24 +- lib/uninorm/u-normxfrm.h | 22 +- lib/uninorm/u16-normalize.c | 2 +- lib/uninorm/u16-normcmp.c | 2 +- lib/uninorm/u16-normcoll.c | 2 +- lib/uninorm/u16-normxfrm.c | 2 +- lib/uninorm/u32-normalize.c | 2 +- lib/uninorm/u32-normcmp.c | 2 +- lib/uninorm/u32-normcoll.c | 2 +- lib/uninorm/u32-normxfrm.c | 2 +- lib/uninorm/u8-normalize.c | 2 +- lib/uninorm/u8-normcmp.c | 2 +- lib/uninorm/u8-normcoll.c | 2 +- lib/uninorm/u8-normxfrm.c | 2 +- lib/uninorm/uninorm-filter.c | 102 +- lib/unistd.c | 2 +- lib/unistd.in.h | 59 +- lib/unistdio.in.h | 2 +- lib/unistdio/u-asnprintf.h | 6 +- lib/unistdio/u-asprintf.h | 6 +- lib/unistdio/u-printf-args.c | 2 +- lib/unistdio/u-printf-args.h | 2 +- lib/unistdio/u-printf-parse.h | 2 +- lib/unistdio/u-snprintf.h | 6 +- lib/unistdio/u-sprintf.h | 6 +- lib/unistdio/u-vasprintf.h | 2 +- lib/unistdio/u-vsnprintf.h | 5 +- lib/unistdio/u-vsprintf.h | 8 +- lib/unistdio/u16-asnprintf.c | 2 +- lib/unistdio/u16-asprintf.c | 2 +- lib/unistdio/u16-printf-parse.c | 2 +- lib/unistdio/u16-snprintf.c | 2 +- lib/unistdio/u16-sprintf.c | 2 +- lib/unistdio/u16-u16-asnprintf.c | 2 +- lib/unistdio/u16-u16-asprintf.c | 2 +- lib/unistdio/u16-u16-snprintf.c | 2 +- lib/unistdio/u16-u16-sprintf.c | 2 +- lib/unistdio/u16-u16-vasnprintf.c | 2 +- lib/unistdio/u16-u16-vasprintf.c | 2 +- lib/unistdio/u16-u16-vsnprintf.c | 2 +- lib/unistdio/u16-u16-vsprintf.c | 2 +- lib/unistdio/u16-vasnprintf.c | 2 +- lib/unistdio/u16-vasprintf.c | 2 +- lib/unistdio/u16-vsnprintf.c | 2 +- lib/unistdio/u16-vsprintf.c | 2 +- lib/unistdio/u32-asnprintf.c | 2 +- lib/unistdio/u32-asprintf.c | 2 +- lib/unistdio/u32-printf-parse.c | 2 +- lib/unistdio/u32-snprintf.c | 2 +- lib/unistdio/u32-sprintf.c | 2 +- lib/unistdio/u32-u32-asnprintf.c | 2 +- lib/unistdio/u32-u32-asprintf.c | 2 +- lib/unistdio/u32-u32-snprintf.c | 2 +- lib/unistdio/u32-u32-sprintf.c | 2 +- lib/unistdio/u32-u32-vasnprintf.c | 2 +- lib/unistdio/u32-u32-vasprintf.c | 2 +- lib/unistdio/u32-u32-vsnprintf.c | 2 +- lib/unistdio/u32-u32-vsprintf.c | 2 +- lib/unistdio/u32-vasnprintf.c | 2 +- lib/unistdio/u32-vasprintf.c | 2 +- lib/unistdio/u32-vsnprintf.c | 2 +- lib/unistdio/u32-vsprintf.c | 2 +- lib/unistdio/u8-asnprintf.c | 2 +- lib/unistdio/u8-asprintf.c | 2 +- lib/unistdio/u8-printf-parse.c | 2 +- lib/unistdio/u8-snprintf.c | 2 +- lib/unistdio/u8-sprintf.c | 2 +- lib/unistdio/u8-u8-asnprintf.c | 2 +- lib/unistdio/u8-u8-asprintf.c | 2 +- lib/unistdio/u8-u8-snprintf.c | 2 +- lib/unistdio/u8-u8-sprintf.c | 2 +- lib/unistdio/u8-u8-vasnprintf.c | 2 +- lib/unistdio/u8-u8-vasprintf.c | 2 +- lib/unistdio/u8-u8-vsnprintf.c | 2 +- lib/unistdio/u8-u8-vsprintf.c | 2 +- lib/unistdio/u8-vasnprintf.c | 2 +- lib/unistdio/u8-vasprintf.c | 2 +- lib/unistdio/u8-vsnprintf.c | 2 +- lib/unistdio/u8-vsprintf.c | 2 +- lib/unistdio/ulc-asnprintf.c | 2 +- lib/unistdio/ulc-asprintf.c | 2 +- lib/unistdio/ulc-fprintf.c | 13 +- lib/unistdio/ulc-printf-parse.c | 2 +- lib/unistdio/ulc-snprintf.c | 2 +- lib/unistdio/ulc-sprintf.c | 2 +- lib/unistdio/ulc-vasnprintf.c | 2 +- lib/unistdio/ulc-vasprintf.c | 2 +- lib/unistdio/ulc-vfprintf.c | 9 +- lib/unistdio/ulc-vsnprintf.c | 2 +- lib/unistdio/ulc-vsprintf.c | 2 +- lib/unistr.in.h | 6 +- lib/unistr/u-cmp2.h | 2 +- lib/unistr/u-cpy-alloc.h | 2 +- lib/unistr/u-cpy.h | 2 +- lib/unistr/u-endswith.h | 2 +- lib/unistr/u-move.h | 2 +- lib/unistr/u-pcpy.h | 2 +- lib/unistr/u-set.h | 2 +- lib/unistr/u-startswith.h | 2 +- lib/unistr/u-stpcpy.h | 2 +- lib/unistr/u-stpncpy.h | 2 +- lib/unistr/u-strcat.h | 2 +- lib/unistr/u-strcoll.h | 2 +- lib/unistr/u-strcpy.h | 2 +- lib/unistr/u-strcspn.h | 2 +- lib/unistr/u-strdup.h | 2 +- lib/unistr/u-strlen.h | 2 +- lib/unistr/u-strncat.h | 2 +- lib/unistr/u-strncpy.h | 2 +- lib/unistr/u-strnlen.h | 2 +- lib/unistr/u-strpbrk.h | 2 +- lib/unistr/u-strspn.h | 2 +- lib/unistr/u-strtok.h | 2 +- lib/unistr/u16-check.c | 2 +- lib/unistr/u16-chr.c | 38 +- lib/unistr/u16-cmp.c | 36 +- lib/unistr/u16-cmp2.c | 2 +- lib/unistr/u16-cpy-alloc.c | 2 +- lib/unistr/u16-cpy.c | 2 +- lib/unistr/u16-endswith.c | 2 +- lib/unistr/u16-mblen.c | 2 +- lib/unistr/u16-mbsnlen.c | 6 +- lib/unistr/u16-mbtouc-aux.c | 2 +- lib/unistr/u16-mbtouc-unsafe-aux.c | 2 +- lib/unistr/u16-mbtouc-unsafe.c | 2 +- lib/unistr/u16-mbtouc.c | 2 +- lib/unistr/u16-mbtoucr.c | 2 +- lib/unistr/u16-move.c | 2 +- lib/unistr/u16-next.c | 6 +- lib/unistr/u16-pcpy.c | 2 +- lib/unistr/u16-prev.c | 2 +- lib/unistr/u16-set.c | 2 +- lib/unistr/u16-startswith.c | 2 +- lib/unistr/u16-stpcpy.c | 2 +- lib/unistr/u16-stpncpy.c | 2 +- lib/unistr/u16-strcat.c | 2 +- lib/unistr/u16-strchr.c | 40 +- lib/unistr/u16-strcmp.c | 31 +- lib/unistr/u16-strcoll.c | 2 +- lib/unistr/u16-strcpy.c | 2 +- lib/unistr/u16-strcspn.c | 2 +- lib/unistr/u16-strdup.c | 2 +- lib/unistr/u16-strlen.c | 2 +- lib/unistr/u16-strmblen.c | 2 +- lib/unistr/u16-strmbtouc.c | 2 +- lib/unistr/u16-strncat.c | 2 +- lib/unistr/u16-strncmp.c | 36 +- lib/unistr/u16-strncpy.c | 2 +- lib/unistr/u16-strnlen.c | 2 +- lib/unistr/u16-strpbrk.c | 2 +- lib/unistr/u16-strrchr.c | 43 +- lib/unistr/u16-strspn.c | 2 +- lib/unistr/u16-strstr.c | 2 +- lib/unistr/u16-strtok.c | 2 +- lib/unistr/u16-to-u32.c | 22 +- lib/unistr/u16-to-u8.c | 22 +- lib/unistr/u16-uctomb-aux.c | 2 +- lib/unistr/u16-uctomb.c | 2 +- lib/unistr/u32-check.c | 2 +- lib/unistr/u32-chr.c | 2 +- lib/unistr/u32-cmp.c | 14 +- lib/unistr/u32-cmp2.c | 2 +- lib/unistr/u32-cpy-alloc.c | 2 +- lib/unistr/u32-cpy.c | 2 +- lib/unistr/u32-endswith.c | 2 +- lib/unistr/u32-mblen.c | 2 +- lib/unistr/u32-mbsnlen.c | 2 +- lib/unistr/u32-mbtouc-unsafe.c | 2 +- lib/unistr/u32-mbtouc.c | 2 +- lib/unistr/u32-mbtoucr.c | 2 +- lib/unistr/u32-move.c | 2 +- lib/unistr/u32-next.c | 6 +- lib/unistr/u32-pcpy.c | 2 +- lib/unistr/u32-prev.c | 2 +- lib/unistr/u32-set.c | 2 +- lib/unistr/u32-startswith.c | 2 +- lib/unistr/u32-stpcpy.c | 2 +- lib/unistr/u32-stpncpy.c | 2 +- lib/unistr/u32-strcat.c | 2 +- lib/unistr/u32-strchr.c | 2 +- lib/unistr/u32-strcmp.c | 13 +- lib/unistr/u32-strcoll.c | 2 +- lib/unistr/u32-strcpy.c | 2 +- lib/unistr/u32-strcspn.c | 2 +- lib/unistr/u32-strdup.c | 2 +- lib/unistr/u32-strlen.c | 2 +- lib/unistr/u32-strmblen.c | 2 +- lib/unistr/u32-strmbtouc.c | 2 +- lib/unistr/u32-strncat.c | 2 +- lib/unistr/u32-strncmp.c | 14 +- lib/unistr/u32-strncpy.c | 2 +- lib/unistr/u32-strnlen.c | 2 +- lib/unistr/u32-strpbrk.c | 2 +- lib/unistr/u32-strrchr.c | 2 +- lib/unistr/u32-strspn.c | 2 +- lib/unistr/u32-strstr.c | 2 +- lib/unistr/u32-strtok.c | 2 +- lib/unistr/u32-to-u16.c | 23 +- lib/unistr/u32-to-u8.c | 23 +- lib/unistr/u32-uctomb.c | 2 +- lib/unistr/u8-check.c | 2 +- lib/unistr/u8-chr.c | 5 +- lib/unistr/u8-cmp.c | 2 +- lib/unistr/u8-cmp2.c | 2 +- lib/unistr/u8-cpy-alloc.c | 2 +- lib/unistr/u8-cpy.c | 2 +- lib/unistr/u8-endswith.c | 2 +- lib/unistr/u8-mblen.c | 2 +- lib/unistr/u8-mbsnlen.c | 6 +- lib/unistr/u8-mbtouc-aux.c | 2 +- lib/unistr/u8-mbtouc-unsafe-aux.c | 2 +- lib/unistr/u8-mbtouc-unsafe.c | 2 +- lib/unistr/u8-mbtouc.c | 2 +- lib/unistr/u8-mbtoucr.c | 2 +- lib/unistr/u8-move.c | 2 +- lib/unistr/u8-next.c | 6 +- lib/unistr/u8-pcpy.c | 2 +- lib/unistr/u8-prev.c | 2 +- lib/unistr/u8-set.c | 2 +- lib/unistr/u8-startswith.c | 2 +- lib/unistr/u8-stpcpy.c | 2 +- lib/unistr/u8-stpncpy.c | 2 +- lib/unistr/u8-strcat.c | 2 +- lib/unistr/u8-strchr.c | 334 +-- lib/unistr/u8-strcmp.c | 2 +- lib/unistr/u8-strcoll.c | 2 +- lib/unistr/u8-strcpy.c | 2 +- lib/unistr/u8-strcspn.c | 2 +- lib/unistr/u8-strdup.c | 2 +- lib/unistr/u8-strlen.c | 2 +- lib/unistr/u8-strmblen.c | 2 +- lib/unistr/u8-strmbtouc.c | 2 +- lib/unistr/u8-strncat.c | 2 +- lib/unistr/u8-strncmp.c | 2 +- lib/unistr/u8-strncpy.c | 2 +- lib/unistr/u8-strnlen.c | 2 +- lib/unistr/u8-strpbrk.c | 2 +- lib/unistr/u8-strrchr.c | 109 +- lib/unistr/u8-strspn.c | 2 +- lib/unistr/u8-strstr.c | 2 +- lib/unistr/u8-strtok.c | 2 +- lib/unistr/u8-to-u16.c | 22 +- lib/unistr/u8-to-u32.c | 22 +- lib/unistr/u8-uctomb-aux.c | 2 +- lib/unistr/u8-uctomb.c | 2 +- lib/unistring/cdefs.h | 13 +- lib/unitypes.in.h | 2 +- lib/uniwbrk.in.h | 2 +- lib/uniwbrk/u-wordbreaks.h | 2 +- lib/uniwbrk/u16-wordbreaks.c | 2 +- lib/uniwbrk/u32-wordbreaks.c | 2 +- lib/uniwbrk/u8-wordbreaks.c | 8 +- lib/uniwbrk/ulc-wordbreaks.c | 19 +- lib/uniwbrk/wbrktable.c | 2 +- lib/uniwbrk/wbrktable.h | 2 +- lib/uniwbrk/wordbreak-property.c | 2 +- lib/uniwidth.in.h | 2 +- lib/uniwidth/cjk.h | 4 +- lib/uniwidth/u16-strwidth.c | 2 +- lib/uniwidth/u16-width.c | 6 +- lib/uniwidth/u32-strwidth.c | 2 +- lib/uniwidth/u32-width.c | 5 +- lib/uniwidth/u8-strwidth.c | 2 +- lib/uniwidth/u8-width.c | 6 +- lib/uniwidth/width.c | 2 +- lib/vasnprintf.c | 656 ++--- lib/verify.h | 2 +- lib/warn-on-use.h | 2 +- lib/wchar.in.h | 45 +- lib/wcs-two-way.h | 170 +- lib/wcsstr-impl.h | 32 +- lib/wctype-h.c | 2 +- lib/wctype.in.h | 6 +- lib/wcwidth.c | 4 +- lib/windows-initguard.h | 2 +- lib/windows-mutex.c | 2 +- lib/windows-mutex.h | 2 +- lib/windows-once.c | 2 +- lib/windows-once.h | 2 +- lib/windows-recmutex.c | 2 +- lib/windows-recmutex.h | 2 +- lib/windows-rwlock.c | 24 +- lib/windows-rwlock.h | 2 +- lib/xalloc-oversized.h | 2 +- lib/xsize.c | 5 +- lib/xsize.h | 2 +- tests/Makefile.gnulib | 25 +- tests/Makefile.in | 137 +- tests/_Noreturn.h | 2 +- tests/accept.c | 2 +- tests/alloca.c | 9 +- tests/arg-nonnull.h | 2 +- tests/arpa_inet.c | 5 +- tests/arpa_inet.in.h | 4 +- tests/atomic-int-gnulib.h | 5 +- tests/atomic-int-posix.h | 5 +- tests/basename-lgpl.c | 11 +- tests/basename-lgpl.h | 2 +- tests/binary-io.c | 5 +- tests/binary-io.h | 2 +- tests/bind.c | 2 +- tests/btoc32.c | 7 +- tests/btowc.c | 2 +- tests/c++defs.h | 14 +- tests/c32rtomb.c | 4 +- tests/c32tob.c | 6 +- tests/calloc.c | 2 +- tests/cdefs.h | 260 +- tests/cloexec.c | 2 +- tests/cloexec.h | 2 +- tests/close.c | 2 +- tests/concat-filename.c | 2 +- tests/concat-filename.h | 2 +- tests/connect.c | 2 +- tests/ctype.in.h | 17 +- tests/dup2.c | 68 +- tests/error.c | 2 +- tests/error.in.h | 2 +- tests/exitfail.c | 2 +- tests/exitfail.h | 2 +- tests/fcntl.c | 180 +- tests/fd-hook.c | 2 +- tests/fd-hook.h | 2 +- tests/fdopen.c | 5 +- tests/filename.h | 7 +- tests/fstat.c | 2 +- tests/ftruncate.c | 5 +- tests/getcwd-lgpl.c | 9 +- tests/getdtablesize.c | 13 +- tests/getprogname.c | 23 +- tests/getprogname.h | 2 +- tests/gettext.h | 8 +- tests/gettimeofday.c | 6 +- tests/glthread/thread.c | 6 +- tests/glthread/thread.h | 2 +- tests/glthread/yield.h | 2 +- tests/ialloc.c | 5 +- tests/ialloc.h | 2 +- tests/iconvsupport.c | 2 +- tests/ignore-value.h | 2 +- tests/inet_pton.c | 229 +- tests/infinity.h | 2 +- tests/init.sh | 2 +- tests/intprops-internal.h | 10 +- tests/intprops.h | 2 +- tests/ioctl.c | 10 +- tests/isblank.c | 2 +- tests/libc-config.h | 2 +- tests/listen.c | 2 +- tests/locale.c | 2 +- tests/lstat.c | 2 +- tests/macros.h | 2 +- tests/malloc.c | 2 +- tests/mbtowc-impl.h | 9 +- tests/mbtowc.c | 2 +- tests/minus-zero.h | 2 +- tests/mkfifo.c | 2 +- tests/msvc-inval.c | 2 +- tests/msvc-inval.h | 6 +- tests/msvc-nothrow.c | 2 +- tests/msvc-nothrow.h | 2 +- tests/nan.h | 2 +- tests/nanosleep.c | 5 +- tests/nap.h | 2 +- tests/netinet_in.in.h | 2 +- tests/open.c | 2 +- tests/pathmax.h | 2 +- tests/perror.c | 5 +- tests/pipe.c | 2 +- tests/pselect.c | 15 +- tests/pthread-cond.c | 5 +- tests/pthread-mutex.c | 2 +- tests/pthread-rwlock.c | 227 +- tests/pthread-thread.c | 2 +- tests/pthread_mutex_timedlock.c | 16 +- tests/pthread_sigmask.c | 9 +- tests/putenv.c | 9 +- tests/raise.c | 2 +- tests/random.c | 16 +- tests/random_r.c | 43 +- tests/randomd.c | 2 +- tests/randoml.c | 2 +- tests/realloc.c | 6 +- tests/reallocarray.c | 2 +- tests/same-inode.c | 4 +- tests/same-inode.h | 2 +- tests/sched_yield.c | 2 +- tests/select.c | 291 ++- tests/setenv.c | 22 +- tests/setlocale.c | 163 +- tests/setsockopt.c | 6 +- tests/signal.in.h | 14 +- tests/signature.h | 2 +- tests/signed-nan.h | 2 +- tests/signed-snan.h | 2 +- tests/sigprocmask.c | 38 +- tests/sleep.c | 5 +- tests/snan.h | 4 +- tests/socket.c | 6 +- tests/sockets.c | 21 +- tests/sockets.h | 2 +- tests/stat-time.c | 5 +- tests/stat-time.h | 5 +- tests/stat-w32.c | 7 +- tests/stat-w32.h | 2 +- tests/stat.c | 5 +- tests/stdio-consolesafe.c | 59 +- tests/stdio-read.c | 13 +- tests/stdio-write.c | 13 +- tests/stdio.in.h | 71 +- tests/stpcpy.c | 2 +- tests/str_endswith.c | 2 +- tests/str_startswith.c | 2 +- tests/strerror-override.c | 2 +- tests/strerror-override.h | 2 +- tests/strerror.c | 5 +- tests/strerror_r.c | 9 +- tests/symlink.c | 2 +- tests/sys_ioctl.in.h | 3 +- tests/sys_select.in.h | 7 +- tests/sys_socket.c | 2 +- tests/sys_socket.in.h | 20 +- tests/sys_stat.in.h | 18 +- tests/sys_time.in.h | 3 +- tests/sys_uio.in.h | 2 +- tests/test-accept.c | 2 +- tests/test-alignasof.c | 2 +- tests/test-alloca-opt.c | 6 +- tests/test-arpa_inet-h.c | 2 +- tests/test-array-mergesort.c | 24 +- tests/test-assert.c | 2 +- tests/test-binary-io.c | 2 +- tests/test-bind.c | 2 +- tests/test-bool.c | 2 +- tests/test-btoc32.c | 14 +- tests/test-btowc.c | 14 +- tests/test-c-ctype.c | 9 +- tests/test-c-strcasecmp.c | 2 +- tests/test-c32isalnum.c | 108 +- tests/test-c32isalpha.c | 104 +- tests/test-c32isblank.c | 84 +- tests/test-c32iscntrl.c | 88 +- tests/test-c32isdigit.c | 84 +- tests/test-c32isgraph.c | 92 +- tests/test-c32islower.c | 94 +- tests/test-c32isprint.c | 88 +- tests/test-c32ispunct.c | 142 +- tests/test-c32isspace.c | 84 +- tests/test-c32isupper.c | 92 +- tests/test-c32isxdigit.c | 88 +- tests/test-c32rtomb-w32.c | 69 +- tests/test-c32rtomb.c | 66 +- tests/test-c32tolower.c | 96 +- tests/test-c32width.c | 8 +- tests/test-calloc-gnu.c | 2 +- tests/test-calloc-posix.c | 2 +- tests/test-cloexec.c | 2 +- tests/test-close.c | 2 +- tests/test-connect.c | 2 +- tests/test-ctype-h.c | 2 +- tests/test-dup2.c | 2 +- tests/test-environ.c | 2 +- tests/test-errno-h.c | 2 +- tests/test-error.c | 2 +- tests/test-fcntl-h.c | 2 +- tests/test-fcntl.c | 2 +- tests/test-fdopen.c | 5 +- tests/test-fgetc.c | 2 +- tests/test-fputc.c | 2 +- tests/test-fread.c | 2 +- tests/test-free.c | 20 +- tests/test-frexp.c | 2 +- tests/test-frexp.h | 185 +- tests/test-frexpl.c | 4 +- tests/test-fseterr.c | 2 +- tests/test-fstat.c | 2 +- tests/test-ftruncate.c | 2 +- tests/test-fwrite.c | 2 +- tests/test-getcwd-lgpl.c | 2 +- tests/test-getdtablesize.c | 2 +- tests/test-getprogname.c | 2 +- tests/test-gettext-h.c | 2 +- tests/test-gettimeofday.c | 2 +- tests/test-hard-locale.c | 2 +- tests/test-iconv-h.c | 2 +- tests/test-iconv.c | 2 +- tests/test-ignore-value.c | 2 +- tests/test-inet_pton.c | 2 +- tests/test-init.sh | 2 +- tests/test-intprops.c | 2 +- tests/test-inttypes-h.c | 2 +- tests/test-ioctl.c | 2 +- tests/test-isblank.c | 6 +- tests/test-isnand-nolibm.c | 2 +- tests/test-isnand.h | 2 +- tests/test-isnanf-nolibm.c | 2 +- tests/test-isnanf.h | 2 +- tests/test-isnanl-nolibm.c | 2 +- tests/test-isnanl.h | 2 +- tests/test-iswblank.c | 2 +- tests/test-iswdigit.c | 84 +- tests/test-iswpunct.c | 134 +- tests/test-iswxdigit.c | 88 +- tests/test-largefile.c | 2 +- tests/test-limits-h.c | 2 +- tests/test-listen.c | 2 +- tests/test-localcharset-w32utf8.c | 2 +- tests/test-localcharset.c | 2 +- tests/test-locale-h.c | 2 +- tests/test-localeconv-mt.c | 2 +- tests/test-localeconv.c | 2 +- tests/test-localename-w32utf8.c | 2 +- tests/test-localename.c | 144 +- tests/test-lock.c | 63 +- tests/test-lstat.c | 2 +- tests/test-lstat.h | 2 +- tests/test-malloc-gnu.c | 2 +- tests/test-malloc-posix.c | 2 +- tests/test-malloca.c | 6 +- tests/test-math-h.c | 2 +- tests/test-mbrtoc32-w32.c | 8 +- tests/test-mbrtoc32.c | 8 +- tests/test-mbrtowc-w32.c | 8 +- tests/test-mbrtowc-w32utf8.c | 2 +- tests/test-mbrtowc.c | 8 +- tests/test-mbsinit.c | 2 +- tests/test-mbsnlen.c | 2 +- tests/test-memchr.c | 130 +- tests/test-mkfifo.c | 2 +- tests/test-mkfifo.h | 2 +- tests/test-nanosleep.c | 2 +- tests/test-netinet_in-h.c | 2 +- tests/test-once.c | 2 +- tests/test-open.c | 2 +- tests/test-open.h | 11 +- tests/test-pathmax.c | 2 +- tests/test-perror.c | 2 +- tests/test-perror2.c | 5 +- tests/test-pipe.c | 2 +- tests/test-printf-frexp.c | 2 +- tests/test-printf-frexpl.c | 4 +- tests/test-pselect.c | 2 +- tests/test-pthread-cond.c | 6 +- tests/test-pthread-mutex-type.c | 2 +- tests/test-pthread-mutex.c | 28 +- tests/test-pthread-once1.c | 2 +- tests/test-pthread-once2.c | 22 +- tests/test-pthread-rwlock.c | 21 +- tests/test-pthread-thread.c | 2 +- tests/test-pthread.c | 2 +- tests/test-pthread_sigmask1.c | 2 +- tests/test-pthread_sigmask2.c | 2 +- tests/test-putenv.c | 2 +- tests/test-raise.c | 2 +- tests/test-random-mt.c | 38 +- tests/test-random.c | 5 +- tests/test-random_r.c | 10 +- tests/test-realloc-posix.c | 2 +- tests/test-reallocarray.c | 2 +- tests/test-rwlock1.c | 2 +- tests/test-sched-h.c | 2 +- tests/test-select-fd.c | 2 +- tests/test-select-stdin.c | 2 +- tests/test-select.c | 2 +- tests/test-select.h | 2 +- tests/test-setenv.c | 2 +- tests/test-setlocale-w32.c | 2 +- tests/test-setlocale-w32utf8.c | 2 +- tests/test-setlocale1.c | 2 +- tests/test-setlocale2.c | 2 +- tests/test-setlocale_null-mt-all.c | 2 +- tests/test-setlocale_null-mt-one.c | 2 +- tests/test-setlocale_null-unlocked.c | 2 +- tests/test-setlocale_null.c | 2 +- tests/test-setsockopt.c | 2 +- tests/test-signal-h.c | 2 +- tests/test-signbit.c | 2 +- tests/test-sigprocmask.c | 2 +- tests/test-sleep.c | 2 +- tests/test-sockets.c | 2 +- tests/test-stat-time.c | 14 +- tests/test-stat.c | 2 +- tests/test-stat.h | 2 +- tests/test-stdckdint-h.c | 2 +- tests/test-stddef-h.c | 2 +- tests/test-stdint-h.c | 2 +- tests/test-stdio-h.c | 2 +- tests/test-stdlib-h.c | 2 +- tests/test-str_endswith.c | 2 +- tests/test-str_startswith.c | 2 +- tests/test-strerror.c | 2 +- tests/test-strerror_r.c | 8 +- tests/test-striconveh.c | 170 +- tests/test-striconveha.c | 87 +- tests/test-string-h.c | 2 +- tests/test-strncat.c | 2 +- tests/test-strncpy.c | 122 + tests/test-strstr.c | 5 +- tests/test-symlink.c | 2 +- tests/test-symlink.h | 2 +- tests/test-sys_ioctl-h.c | 2 +- tests/test-sys_select-h.c | 2 +- tests/test-sys_socket-h.c | 2 +- tests/test-sys_stat-h.c | 9 +- tests/test-sys_time-h.c | 2 +- tests/test-sys_types-h.c | 9 +- tests/test-sys_uio-h.c | 2 +- tests/test-sys_wait-h.h | 2 +- tests/test-thread_create.c | 2 +- tests/test-thread_self.c | 2 +- tests/test-time-h.c | 2 +- tests/test-time.c | 2 +- tests/test-uchar-h.c | 2 +- tests/test-unistd-h.c | 2 +- tests/test-unsetenv.c | 2 +- tests/test-usleep.c | 2 +- tests/test-verify-try.c | 2 +- tests/test-verify.c | 2 +- tests/test-wchar-h.c | 2 +- tests/test-wcrtomb-w32.c | 69 +- tests/test-wcrtomb.c | 66 +- tests/test-wctype-h.c | 2 +- tests/test-wcwidth.c | 8 +- tests/test-windows-mutex-type.c | 2 +- tests/test-windows-recmutex-type.c | 2 +- tests/test-windows-timedmutex-type.c | 2 +- tests/test-windows-timedrecmutex-type.c | 2 +- tests/test-xalloc-die.c | 2 +- tests/test-xalloc-die.sh | 2 +- tests/time.c | 6 +- tests/unicase/test-casecmp.h | 2 +- tests/unicase/test-is-cased.h | 2 +- tests/unicase/test-is-casefolded.h | 2 +- tests/unicase/test-is-lowercase.h | 2 +- tests/unicase/test-is-titlecase.h | 2 +- tests/unicase/test-is-uppercase.h | 2 +- tests/unicase/test-locale-language.c | 2 +- tests/unicase/test-mapping-part1.h | 2 +- tests/unicase/test-mapping-part2.h | 5 +- tests/unicase/test-predicate-part1.h | 2 +- tests/unicase/test-predicate-part2.h | 5 +- tests/unicase/test-u16-casecmp.c | 2 +- tests/unicase/test-u16-casecoll.c | 2 +- tests/unicase/test-u16-casefold.c | 2 +- tests/unicase/test-u16-is-cased.c | 2 +- tests/unicase/test-u16-is-casefolded.c | 2 +- tests/unicase/test-u16-is-lowercase.c | 2 +- tests/unicase/test-u16-is-titlecase.c | 2 +- tests/unicase/test-u16-is-uppercase.c | 2 +- tests/unicase/test-u16-tolower.c | 2 +- tests/unicase/test-u16-totitle.c | 2 +- tests/unicase/test-u16-toupper.c | 2 +- tests/unicase/test-u32-casecmp.c | 2 +- tests/unicase/test-u32-casecoll.c | 2 +- tests/unicase/test-u32-casefold.c | 2 +- tests/unicase/test-u32-is-cased.c | 2 +- tests/unicase/test-u32-is-casefolded.c | 2 +- tests/unicase/test-u32-is-lowercase.c | 2 +- tests/unicase/test-u32-is-titlecase.c | 2 +- tests/unicase/test-u32-is-uppercase.c | 2 +- tests/unicase/test-u32-tolower.c | 2 +- tests/unicase/test-u32-totitle.c | 2 +- tests/unicase/test-u32-toupper.c | 2 +- tests/unicase/test-u8-casecmp.c | 2 +- tests/unicase/test-u8-casecoll.c | 2 +- tests/unicase/test-u8-casefold.c | 2 +- tests/unicase/test-u8-is-cased.c | 2 +- tests/unicase/test-u8-is-casefolded.c | 2 +- tests/unicase/test-u8-is-lowercase.c | 2 +- tests/unicase/test-u8-is-titlecase.c | 2 +- tests/unicase/test-u8-is-uppercase.c | 2 +- tests/unicase/test-u8-tolower.c | 2 +- tests/unicase/test-u8-totitle.c | 2 +- tests/unicase/test-u8-toupper.c | 2 +- tests/unicase/test-ulc-casecmp.c | 2 +- tests/unicase/test-ulc-casecoll.c | 2 +- tests/unicase/test-unicase-h.c | 2 +- tests/uniconv/test-u16-conv-from-enc.c | 35 +- tests/uniconv/test-u16-conv-to-enc.c | 23 +- tests/uniconv/test-u16-strconv-from-enc.c | 13 +- tests/uniconv/test-u16-strconv-to-enc.c | 9 +- tests/uniconv/test-u32-conv-from-enc.c | 35 +- tests/uniconv/test-u32-conv-to-enc.c | 19 +- tests/uniconv/test-u32-strconv-from-enc.c | 13 +- tests/uniconv/test-u32-strconv-to-enc.c | 7 +- tests/uniconv/test-u8-conv-from-enc.c | 35 +- tests/uniconv/test-u8-conv-to-enc.c | 23 +- tests/uniconv/test-u8-strconv-from-enc.c | 13 +- tests/uniconv/test-u8-strconv-to-enc.c | 9 +- tests/uniconv/test-uniconv-h.c | 2 +- tests/unictype/test-bidi_byname.c | 2 +- tests/unictype/test-bidi_longname.c | 2 +- tests/unictype/test-bidi_name.c | 2 +- tests/unictype/test-bidi_of.c | 2 +- tests/unictype/test-bidi_test.c | 10 +- tests/unictype/test-block_list.c | 5 +- tests/unictype/test-block_of.c | 25 +- tests/unictype/test-block_test.c | 2 +- tests/unictype/test-categ_and.c | 2 +- tests/unictype/test-categ_and_not.c | 2 +- tests/unictype/test-categ_byname.c | 13 +- tests/unictype/test-categ_longname.c | 2 +- tests/unictype/test-categ_name.c | 2 +- tests/unictype/test-categ_none.c | 5 +- tests/unictype/test-categ_of.c | 19 +- tests/unictype/test-categ_or.c | 2 +- tests/unictype/test-categ_test_withtable.c | 2 +- tests/unictype/test-combiningclass.c | 2 +- tests/unictype/test-combiningclass_byname.c | 2 +- tests/unictype/test-combiningclass_longname.c | 2 +- tests/unictype/test-combiningclass_name.c | 2 +- tests/unictype/test-decdigit.c | 5 +- tests/unictype/test-digit.c | 5 +- tests/unictype/test-incb_byname.c | 2 +- tests/unictype/test-incb_name.c | 2 +- tests/unictype/test-incb_of.c | 5 +- tests/unictype/test-joininggroup_byname.c | 2 +- tests/unictype/test-joininggroup_name.c | 2 +- tests/unictype/test-joininggroup_of.c | 5 +- tests/unictype/test-joiningtype_byname.c | 2 +- tests/unictype/test-joiningtype_longname.c | 2 +- tests/unictype/test-joiningtype_name.c | 2 +- tests/unictype/test-joiningtype_of.c | 5 +- tests/unictype/test-mirror.c | 2 +- tests/unictype/test-numeric.c | 5 +- tests/unictype/test-pr_byname.c | 5 +- tests/unictype/test-pr_test.c | 5 +- tests/unictype/test-predicate-part1.h | 2 +- tests/unictype/test-predicate-part2.h | 5 +- tests/unictype/test-scripts.c | 21 +- tests/unictype/test-sy_c_ident.c | 2 +- tests/unictype/test-sy_java_ident.c | 2 +- tests/unictype/test-unictype-h.c | 2 +- tests/unigbrk/test-u16-grapheme-breaks.c | 15 +- tests/unigbrk/test-u16-grapheme-next.c | 6 +- tests/unigbrk/test-u16-grapheme-prev.c | 6 +- tests/unigbrk/test-u32-grapheme-breaks.c | 15 +- tests/unigbrk/test-u32-grapheme-next.c | 6 +- tests/unigbrk/test-u32-grapheme-prev.c | 6 +- tests/unigbrk/test-u8-grapheme-breaks.c | 13 +- tests/unigbrk/test-u8-grapheme-next.c | 6 +- tests/unigbrk/test-u8-grapheme-prev.c | 6 +- tests/unigbrk/test-uc-gbrk-prop.c | 5 +- tests/unigbrk/test-uc-grapheme-breaks.c | 13 +- tests/unigbrk/test-uc-is-grapheme-break.c | 2 +- tests/unigbrk/test-ulc-grapheme-breaks.c | 13 +- tests/unigbrk/test-unigbrk-h.c | 2 +- tests/unilbrk/test-u16-possible-linebreaks.c | 35 +- tests/unilbrk/test-u16-width-linebreaks.c | 8 +- tests/unilbrk/test-u32-possible-linebreaks.c | 35 +- tests/unilbrk/test-u32-width-linebreaks.c | 8 +- tests/unilbrk/test-u8-possible-linebreaks.c | 35 +- tests/unilbrk/test-u8-width-linebreaks.c | 8 +- tests/unilbrk/test-uc-possible-linebreaks.c | 111 +- tests/unilbrk/test-ulc-possible-linebreaks.c | 8 +- tests/unilbrk/test-ulc-width-linebreaks.c | 5 +- tests/unilbrk/test-unilbrk-h.c | 2 +- tests/unimetadata/test-u-version.c | 2 +- tests/unimetadata/test-unimetadata-h.c | 2 +- tests/uniname/test-uniname-h.c | 2 +- tests/uniname/test-uninames.c | 27 +- tests/uninorm/test-canonical-decomposition.c | 2 +- tests/uninorm/test-compat-decomposition.c | 2 +- tests/uninorm/test-composition.c | 2 +- tests/uninorm/test-decomposing-form.c | 2 +- tests/uninorm/test-decomposition.c | 2 +- tests/uninorm/test-nfc.c | 2 +- tests/uninorm/test-nfd.c | 2 +- tests/uninorm/test-nfkc.c | 2 +- tests/uninorm/test-nfkd.c | 2 +- tests/uninorm/test-u16-nfc.c | 124 +- tests/uninorm/test-u16-nfd.c | 118 +- tests/uninorm/test-u16-nfkc.c | 124 +- tests/uninorm/test-u16-nfkd.c | 118 +- tests/uninorm/test-u16-normcmp.c | 2 +- tests/uninorm/test-u16-normcmp.h | 2 +- tests/uninorm/test-u16-normcoll.c | 2 +- tests/uninorm/test-u32-nfc-big.c | 2 +- tests/uninorm/test-u32-nfc.c | 124 +- tests/uninorm/test-u32-nfd-big.c | 2 +- tests/uninorm/test-u32-nfd.c | 118 +- tests/uninorm/test-u32-nfkc-big.c | 2 +- tests/uninorm/test-u32-nfkc.c | 124 +- tests/uninorm/test-u32-nfkd-big.c | 2 +- tests/uninorm/test-u32-nfkd.c | 118 +- tests/uninorm/test-u32-normalize-big.c | 35 +- tests/uninorm/test-u32-normalize-big.h | 2 +- tests/uninorm/test-u32-normcmp.c | 2 +- tests/uninorm/test-u32-normcmp.h | 2 +- tests/uninorm/test-u32-normcoll.c | 2 +- tests/uninorm/test-u8-nfc.c | 176 +- tests/uninorm/test-u8-nfd.c | 168 +- tests/uninorm/test-u8-nfkc.c | 176 +- tests/uninorm/test-u8-nfkd.c | 168 +- tests/uninorm/test-u8-normcmp.c | 2 +- tests/uninorm/test-u8-normcmp.h | 2 +- tests/uninorm/test-u8-normcoll.c | 2 +- tests/uninorm/test-uninorm-filter-nfc.c | 5 +- tests/uninorm/test-uninorm-h.c | 2 +- tests/unistdio/test-u16-asnprintf1.c | 2 +- tests/unistdio/test-u16-asnprintf1.h | 7 +- tests/unistdio/test-u16-printf1.h | 2 +- tests/unistdio/test-u16-vasnprintf1.c | 2 +- tests/unistdio/test-u16-vasnprintf2.c | 2 +- tests/unistdio/test-u16-vasnprintf3.c | 2 +- tests/unistdio/test-u16-vasprintf1.c | 2 +- tests/unistdio/test-u16-vsnprintf1.c | 2 +- tests/unistdio/test-u16-vsprintf1.c | 2 +- tests/unistdio/test-u32-asnprintf1.c | 2 +- tests/unistdio/test-u32-asnprintf1.h | 7 +- tests/unistdio/test-u32-printf1.h | 2 +- tests/unistdio/test-u32-vasnprintf1.c | 2 +- tests/unistdio/test-u32-vasnprintf2.c | 2 +- tests/unistdio/test-u32-vasnprintf3.c | 2 +- tests/unistdio/test-u32-vasprintf1.c | 2 +- tests/unistdio/test-u32-vsnprintf1.c | 2 +- tests/unistdio/test-u32-vsprintf1.c | 2 +- tests/unistdio/test-u8-asnprintf1.c | 2 +- tests/unistdio/test-u8-asnprintf1.h | 7 +- tests/unistdio/test-u8-printf1.h | 2 +- tests/unistdio/test-u8-vasnprintf1.c | 2 +- tests/unistdio/test-u8-vasnprintf2.c | 2 +- tests/unistdio/test-u8-vasnprintf3.c | 2 +- tests/unistdio/test-u8-vasprintf1.c | 2 +- tests/unistdio/test-u8-vsnprintf1.c | 2 +- tests/unistdio/test-u8-vsprintf1.c | 2 +- tests/unistdio/test-ulc-asnprintf1.c | 2 +- tests/unistdio/test-ulc-asnprintf1.h | 7 +- tests/unistdio/test-ulc-printf1.h | 2 +- tests/unistdio/test-ulc-vasnprintf1.c | 2 +- tests/unistdio/test-ulc-vasnprintf2.c | 2 +- tests/unistdio/test-ulc-vasnprintf3.c | 2 +- tests/unistdio/test-ulc-vasprintf1.c | 2 +- tests/unistdio/test-ulc-vsnprintf1.c | 2 +- tests/unistdio/test-ulc-vsprintf1.c | 2 +- tests/unistdio/test-unistdio-h.c | 2 +- tests/unistr/test-chr.h | 42 +- tests/unistr/test-cmp.h | 14 +- tests/unistr/test-cmp2.h | 2 +- tests/unistr/test-cpy-alloc.h | 8 +- tests/unistr/test-cpy.h | 8 +- tests/unistr/test-move.h | 56 +- tests/unistr/test-pcpy.h | 8 +- tests/unistr/test-set.h | 33 +- tests/unistr/test-stpcpy.h | 8 +- tests/unistr/test-stpncpy.h | 24 +- tests/unistr/test-strcat.h | 15 +- tests/unistr/test-strchr.h | 47 +- tests/unistr/test-strcmp.h | 2 +- tests/unistr/test-strcpy.h | 8 +- tests/unistr/test-strdup.h | 8 +- tests/unistr/test-strncat.h | 31 +- tests/unistr/test-strncmp.h | 2 +- tests/unistr/test-strncpy.h | 24 +- tests/unistr/test-strnlen.h | 10 +- tests/unistr/test-u-strstr.h | 15 +- tests/unistr/test-u-strtok.h | 2 +- tests/unistr/test-u16-check.c | 2 +- tests/unistr/test-u16-chr.c | 2 +- tests/unistr/test-u16-cmp.c | 2 +- tests/unistr/test-u16-cmp2.c | 2 +- tests/unistr/test-u16-cpy-alloc.c | 2 +- tests/unistr/test-u16-cpy.c | 2 +- tests/unistr/test-u16-mblen.c | 5 +- tests/unistr/test-u16-mbsnlen.c | 8 +- tests/unistr/test-u16-mbtouc-unsafe.c | 2 +- tests/unistr/test-u16-mbtouc.c | 2 +- tests/unistr/test-u16-mbtouc.h | 5 +- tests/unistr/test-u16-mbtoucr.c | 5 +- tests/unistr/test-u16-move.c | 2 +- tests/unistr/test-u16-next.c | 5 +- tests/unistr/test-u16-pcpy.c | 2 +- tests/unistr/test-u16-prev.c | 17 +- tests/unistr/test-u16-set.c | 2 +- tests/unistr/test-u16-stpcpy.c | 2 +- tests/unistr/test-u16-stpncpy.c | 2 +- tests/unistr/test-u16-strcat.c | 2 +- tests/unistr/test-u16-strchr.c | 2 +- tests/unistr/test-u16-strcmp.c | 2 +- tests/unistr/test-u16-strcmp.h | 2 +- tests/unistr/test-u16-strcoll.c | 2 +- tests/unistr/test-u16-strcpy.c | 2 +- tests/unistr/test-u16-strdup.c | 2 +- tests/unistr/test-u16-strlen.c | 2 +- tests/unistr/test-u16-strmblen.c | 5 +- tests/unistr/test-u16-strmbtouc.c | 5 +- tests/unistr/test-u16-strncat.c | 2 +- tests/unistr/test-u16-strncmp.c | 2 +- tests/unistr/test-u16-strncpy.c | 2 +- tests/unistr/test-u16-strnlen.c | 2 +- tests/unistr/test-u16-strstr.c | 2 +- tests/unistr/test-u16-strtok.c | 2 +- tests/unistr/test-u16-to-u32.c | 2 +- tests/unistr/test-u16-to-u8.c | 2 +- tests/unistr/test-u16-uctomb.c | 36 +- tests/unistr/test-u32-check.c | 2 +- tests/unistr/test-u32-chr.c | 2 +- tests/unistr/test-u32-cmp.c | 2 +- tests/unistr/test-u32-cmp2.c | 2 +- tests/unistr/test-u32-cpy-alloc.c | 2 +- tests/unistr/test-u32-cpy.c | 2 +- tests/unistr/test-u32-mblen.c | 5 +- tests/unistr/test-u32-mbsnlen.c | 8 +- tests/unistr/test-u32-mbtouc-unsafe.c | 2 +- tests/unistr/test-u32-mbtouc.c | 2 +- tests/unistr/test-u32-mbtouc.h | 5 +- tests/unistr/test-u32-mbtoucr.c | 5 +- tests/unistr/test-u32-move.c | 2 +- tests/unistr/test-u32-next.c | 5 +- tests/unistr/test-u32-pcpy.c | 2 +- tests/unistr/test-u32-prev.c | 11 +- tests/unistr/test-u32-set.c | 2 +- tests/unistr/test-u32-stpcpy.c | 2 +- tests/unistr/test-u32-stpncpy.c | 2 +- tests/unistr/test-u32-strcat.c | 2 +- tests/unistr/test-u32-strchr.c | 2 +- tests/unistr/test-u32-strcmp.c | 2 +- tests/unistr/test-u32-strcmp.h | 2 +- tests/unistr/test-u32-strcoll.c | 2 +- tests/unistr/test-u32-strcpy.c | 2 +- tests/unistr/test-u32-strdup.c | 2 +- tests/unistr/test-u32-strlen.c | 2 +- tests/unistr/test-u32-strmblen.c | 5 +- tests/unistr/test-u32-strmbtouc.c | 5 +- tests/unistr/test-u32-strncat.c | 2 +- tests/unistr/test-u32-strncmp.c | 2 +- tests/unistr/test-u32-strncpy.c | 2 +- tests/unistr/test-u32-strnlen.c | 2 +- tests/unistr/test-u32-strstr.c | 2 +- tests/unistr/test-u32-strtok.c | 2 +- tests/unistr/test-u32-to-u16.c | 2 +- tests/unistr/test-u32-to-u8.c | 2 +- tests/unistr/test-u32-uctomb.c | 36 +- tests/unistr/test-u8-check.c | 2 +- tests/unistr/test-u8-chr.c | 2 +- tests/unistr/test-u8-cmp.c | 2 +- tests/unistr/test-u8-cmp2.c | 2 +- tests/unistr/test-u8-cpy-alloc.c | 2 +- tests/unistr/test-u8-cpy.c | 2 +- tests/unistr/test-u8-mblen.c | 5 +- tests/unistr/test-u8-mbsnlen.c | 8 +- tests/unistr/test-u8-mbtouc-unsafe.c | 2 +- tests/unistr/test-u8-mbtouc.c | 5 +- tests/unistr/test-u8-mbtouc.h | 5 +- tests/unistr/test-u8-mbtoucr.c | 5 +- tests/unistr/test-u8-move.c | 2 +- tests/unistr/test-u8-next.c | 5 +- tests/unistr/test-u8-pcpy.c | 2 +- tests/unistr/test-u8-prev.c | 29 +- tests/unistr/test-u8-set.c | 2 +- tests/unistr/test-u8-stpcpy.c | 2 +- tests/unistr/test-u8-stpncpy.c | 2 +- tests/unistr/test-u8-strcat.c | 2 +- tests/unistr/test-u8-strchr.c | 2 +- tests/unistr/test-u8-strcmp.c | 2 +- tests/unistr/test-u8-strcmp.h | 2 +- tests/unistr/test-u8-strcoll.c | 2 +- tests/unistr/test-u8-strcpy.c | 2 +- tests/unistr/test-u8-strdup.c | 2 +- tests/unistr/test-u8-strlen.c | 2 +- tests/unistr/test-u8-strmblen.c | 5 +- tests/unistr/test-u8-strmbtouc.c | 5 +- tests/unistr/test-u8-strncat.c | 2 +- tests/unistr/test-u8-strncmp.c | 2 +- tests/unistr/test-u8-strncpy.c | 2 +- tests/unistr/test-u8-strnlen.c | 2 +- tests/unistr/test-u8-strstr.c | 2 +- tests/unistr/test-u8-strtok.c | 2 +- tests/unistr/test-u8-to-u16.c | 2 +- tests/unistr/test-u8-to-u32.c | 2 +- tests/unistr/test-u8-uctomb.c | 36 +- tests/unistr/test-unistr-h.c | 2 +- tests/uniwbrk/test-u16-wordbreaks.c | 14 +- tests/uniwbrk/test-u32-wordbreaks.c | 14 +- tests/uniwbrk/test-u8-wordbreaks.c | 14 +- tests/uniwbrk/test-uc-wordbreaks.c | 8 +- tests/uniwbrk/test-ulc-wordbreaks.c | 5 +- tests/uniwbrk/test-uniwbrk-h.c | 2 +- tests/uniwidth/test-u16-strwidth.c | 2 +- tests/uniwidth/test-u16-width.c | 2 +- tests/uniwidth/test-u32-strwidth.c | 2 +- tests/uniwidth/test-u32-width.c | 2 +- tests/uniwidth/test-u8-strwidth.c | 2 +- tests/uniwidth/test-u8-width.c | 2 +- tests/uniwidth/test-uc_width.c | 6 +- tests/uniwidth/test-uc_width2.c | 6 +- tests/uniwidth/test-uniwidth-h.c | 2 +- tests/unsetenv.c | 11 +- tests/usleep.c | 2 +- tests/verify.h | 2 +- tests/virtualbox.h | 8 +- tests/w32sock.h | 2 +- tests/warn-on-use.h | 2 +- tests/wcrtomb.c | 2 +- tests/wctob.c | 2 +- tests/wctomb-impl.h | 7 +- tests/wctomb.c | 2 +- tests/windows-cond.c | 62 +- tests/windows-cond.h | 2 +- tests/windows-initguard.h | 2 +- tests/windows-thread.c | 10 +- tests/windows-thread.h | 2 +- tests/windows-timedmutex.c | 8 +- tests/windows-timedmutex.h | 2 +- tests/windows-timedrecmutex.c | 8 +- tests/windows-timedrecmutex.h | 2 +- tests/windows-timedrwlock.c | 49 +- tests/windows-timedrwlock.h | 2 +- tests/windows-tls.c | 15 +- tests/windows-tls.h | 2 +- tests/xalloc-die.c | 2 +- tests/xalloc.h | 2 +- tests/xconcat-filename.c | 6 +- tests/xgetcwd.c | 2 +- tests/xgetcwd.h | 2 +- tests/xmalloc.c | 28 +- tests/zerosize-ptr.h | 2 +- version.sh | 6 +- 1819 files changed, 10976 insertions(+), 10921 deletions(-) create mode 100644 gnulib-m4/libdl.m4 create mode 100644 gnulib-m4/strncpy.m4 create mode 100644 lib/streq-opt.h delete mode 100644 lib/streq.h create mode 100644 lib/strncpy.c create mode 100644 tests/test-strncpy.c diff --git a/ChangeLog b/ChangeLog index 0139c397..780b340d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,28 @@ +2026-02-24 Bruno Haible + + Prepare for 1.4.2 release. + * version.sh: Bump version number, date, gnulib version. + * README: Update version. + * NEWS: Update. + +2025-12-29 Bruno Haible + + Sync with gnulib. + * lib/unistring/cdefs.h: Update from gnulib/m4/gnulib-common.m4. + (_GL_UNNAMED): New macro. + (_UC_UNNAMED): Apply + 2025-12-23 Paul Eggert + New C macro _GL_UNNAMED + +2025-10-08 Bruno Haible + + Make the generated more usable in C++ mode. + Reported by Daniel Collins + at . + + * lib/Makefile.am (unistring/stdint.h): In C++ 11 or newer mode, just use + . + 2025-10-05 Bruno Haible Prepare for 1.4.1 release. diff --git a/Makefile.in b/Makefile.in index c082a5e6..2e07c4aa 100644 --- a/Makefile.in +++ b/Makefile.in @@ -168,6 +168,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/lib-ld.m4 \ $(top_srcdir)/gnulib-m4/lib-link.m4 \ $(top_srcdir)/gnulib-m4/lib-prefix.m4 \ + $(top_srcdir)/gnulib-m4/libdl.m4 \ $(top_srcdir)/gnulib-m4/libunistring-base.m4 \ $(top_srcdir)/gnulib-m4/limits-h.m4 \ $(top_srcdir)/gnulib-m4/localcharset.m4 \ @@ -268,6 +269,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/string_h.m4 \ $(top_srcdir)/gnulib-m4/stringeq.m4 \ $(top_srcdir)/gnulib-m4/strncat.m4 \ + $(top_srcdir)/gnulib-m4/strncpy.m4 \ $(top_srcdir)/gnulib-m4/strstr.m4 \ $(top_srcdir)/gnulib-m4/symlink.m4 \ $(top_srcdir)/gnulib-m4/sys_cdefs_h.m4 \ @@ -682,13 +684,16 @@ GL_GNULIB_ISBLANK_L = @GL_GNULIB_ISBLANK_L@ GL_GNULIB_ISCNTRL_L = @GL_GNULIB_ISCNTRL_L@ GL_GNULIB_ISDIGIT_L = @GL_GNULIB_ISDIGIT_L@ GL_GNULIB_ISFINITE = @GL_GNULIB_ISFINITE@ +GL_GNULIB_ISFINITE_NO_CXX = @GL_GNULIB_ISFINITE_NO_CXX@ GL_GNULIB_ISGRAPH_L = @GL_GNULIB_ISGRAPH_L@ GL_GNULIB_ISINF = @GL_GNULIB_ISINF@ +GL_GNULIB_ISINF_NO_CXX = @GL_GNULIB_ISINF_NO_CXX@ GL_GNULIB_ISLOWER_L = @GL_GNULIB_ISLOWER_L@ GL_GNULIB_ISNAN = @GL_GNULIB_ISNAN@ GL_GNULIB_ISNAND = @GL_GNULIB_ISNAND@ GL_GNULIB_ISNANF = @GL_GNULIB_ISNANF@ GL_GNULIB_ISNANL = @GL_GNULIB_ISNANL@ +GL_GNULIB_ISNAN_NO_CXX = @GL_GNULIB_ISNAN_NO_CXX@ GL_GNULIB_ISPRINT_L = @GL_GNULIB_ISPRINT_L@ GL_GNULIB_ISPUNCT_L = @GL_GNULIB_ISPUNCT_L@ GL_GNULIB_ISSPACE_L = @GL_GNULIB_ISSPACE_L@ @@ -836,6 +841,7 @@ GL_GNULIB_OBSTACK_PRINTF_POSIX = @GL_GNULIB_OBSTACK_PRINTF_POSIX@ GL_GNULIB_OBSTACK_ZPRINTF = @GL_GNULIB_OBSTACK_ZPRINTF@ GL_GNULIB_OPEN = @GL_GNULIB_OPEN@ GL_GNULIB_OPENAT = @GL_GNULIB_OPENAT@ +GL_GNULIB_OPENAT2 = @GL_GNULIB_OPENAT2@ GL_GNULIB_OVERRIDES_STRUCT_STAT = @GL_GNULIB_OVERRIDES_STRUCT_STAT@ GL_GNULIB_PCLOSE = @GL_GNULIB_PCLOSE@ GL_GNULIB_PERROR = @GL_GNULIB_PERROR@ @@ -917,6 +923,7 @@ GL_GNULIB_SIGACTION = @GL_GNULIB_SIGACTION@ GL_GNULIB_SIGDESCR_NP = @GL_GNULIB_SIGDESCR_NP@ GL_GNULIB_SIGNAL_H_SIGPIPE = @GL_GNULIB_SIGNAL_H_SIGPIPE@ GL_GNULIB_SIGNBIT = @GL_GNULIB_SIGNBIT@ +GL_GNULIB_SIGNBIT_NO_CXX = @GL_GNULIB_SIGNBIT_NO_CXX@ GL_GNULIB_SIGPROCMASK = @GL_GNULIB_SIGPROCMASK@ GL_GNULIB_SINF = @GL_GNULIB_SINF@ GL_GNULIB_SINHF = @GL_GNULIB_SINHF@ @@ -944,8 +951,10 @@ GL_GNULIB_STRERROR_R = @GL_GNULIB_STRERROR_R@ GL_GNULIB_STRFTIME = @GL_GNULIB_STRFTIME@ GL_GNULIB_STRINGEQ = @GL_GNULIB_STRINGEQ@ GL_GNULIB_STRNCAT = @GL_GNULIB_STRNCAT@ +GL_GNULIB_STRNCPY = @GL_GNULIB_STRNCPY@ GL_GNULIB_STRNDUP = @GL_GNULIB_STRNDUP@ GL_GNULIB_STRNLEN = @GL_GNULIB_STRNLEN@ +GL_GNULIB_STRNUL = @GL_GNULIB_STRNUL@ GL_GNULIB_STRPBRK = @GL_GNULIB_STRPBRK@ GL_GNULIB_STRPTIME = @GL_GNULIB_STRPTIME@ GL_GNULIB_STRSEP = @GL_GNULIB_STRSEP@ @@ -1460,6 +1469,7 @@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_OFF64_T = @HAVE_OFF64_T@ HAVE_OPENAT = @HAVE_OPENAT@ +HAVE_OPENAT2 = @HAVE_OPENAT2@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ @@ -1617,6 +1627,7 @@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_PROCESS_H = @HAVE_SYS_PROCESS_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ @@ -1717,6 +1728,7 @@ LC_NUMERIC_IMPLEMENTED = @LC_NUMERIC_IMPLEMENTED@ LC_TIME_IMPLEMENTED = @LC_TIME_IMPLEMENTED@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBDL = @LIBDL@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ @@ -2162,6 +2174,7 @@ REPLACE_SIGNBIT = @REPLACE_SIGNBIT@ REPLACE_SIGNBIT_USING_BUILTINS = @REPLACE_SIGNBIT_USING_BUILTINS@ REPLACE_SINF = @REPLACE_SINF@ REPLACE_SINHF = @REPLACE_SINHF@ +REPLACE_SINL = @REPLACE_SINL@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ @@ -2181,6 +2194,7 @@ REPLACE_STRERROR_L = @REPLACE_STRERROR_L@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNCPY = @REPLACE_STRNCPY@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ diff --git a/NEWS b/NEWS index 97356643..e97ee06e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +New in 1.4.2: +* Fixed a build failure on systems with glibc 2.43. + New in 1.4.1: * Fixed a compilation error in C++ mode. diff --git a/README b/README index c9b0043b..1368eb52 100644 --- a/README +++ b/README @@ -69,7 +69,7 @@ The documentation is under another license; see in the documentation. Download -------- - https://ftp.gnu.org/gnu/libunistring/libunistring-1.4.1.tar.gz + https://ftp.gnu.org/gnu/libunistring/libunistring-1.4.2.tar.gz Homepage -------- diff --git a/aclocal.m4 b/aclocal.m4 index c566de59..4c3a6702 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1429,6 +1429,7 @@ m4_include([gnulib-m4/ldexpl.m4]) m4_include([gnulib-m4/lib-ld.m4]) m4_include([gnulib-m4/lib-link.m4]) m4_include([gnulib-m4/lib-prefix.m4]) +m4_include([gnulib-m4/libdl.m4]) m4_include([gnulib-m4/libunistring-base.m4]) m4_include([gnulib-m4/limits-h.m4]) m4_include([gnulib-m4/localcharset.m4]) @@ -1529,6 +1530,7 @@ m4_include([gnulib-m4/strerror_r.m4]) m4_include([gnulib-m4/string_h.m4]) m4_include([gnulib-m4/stringeq.m4]) m4_include([gnulib-m4/strncat.m4]) +m4_include([gnulib-m4/strncpy.m4]) m4_include([gnulib-m4/strstr.m4]) m4_include([gnulib-m4/symlink.m4]) m4_include([gnulib-m4/sys_cdefs_h.m4]) diff --git a/build-aux/config.rpath b/build-aux/config.rpath index 51b6aef7..1119d6ab 100755 --- a/build-aux/config.rpath +++ b/build-aux/config.rpath @@ -3,7 +3,7 @@ # run time search path of shared libraries in a binary (executable or # shared library). # -# Copyright 1996-2025 Free Software Foundation, Inc. +# Copyright 1996-2026 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # @@ -49,7 +49,7 @@ Send patches and bug reports to ." func_version () { echo "config.rpath (GNU gnulib, module havelib)" - echo "Copyright (C) 2025 Free Software Foundation, Inc. + echo "Copyright (C) 2026 Free Software Foundation, Inc. License: All-Permissive. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 0c751f95..134833a9 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -3,7 +3,7 @@ # Convert git log output to ChangeLog format. -# Copyright (C) 2008-2025 Free Software Foundation, Inc. +# Copyright (C) 2008-2026 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/build-aux/run-test b/build-aux/run-test index 53167320..ab827f07 100755 --- a/build-aux/run-test +++ b/build-aux/run-test @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009-2025 Free Software Foundation, Inc. +# Copyright (C) 2009-2026 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ func_version () { echo "\ run-test (GNU gnulib) -Copyright (C) 2024-2025 Free Software Foundation, Inc. +Copyright (C) 2024-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." diff --git a/config.h.in b/config.h.in index 95253425..cc277415 100644 --- a/config.h.in +++ b/config.h.in @@ -475,8 +475,8 @@ /* Define to 1 when the gnulib module setsockopt should be tested. */ #undef GNULIB_TEST_SETSOCKOPT -/* Define to 1 when the gnulib module signbit should be tested. */ -#undef GNULIB_TEST_SIGNBIT +/* Define to 1 when the gnulib module signbit-no-cxx should be tested. */ +#undef GNULIB_TEST_SIGNBIT_NO_CXX /* Define to 1 when the gnulib module sigprocmask should be tested. */ #undef GNULIB_TEST_SIGPROCMASK @@ -505,6 +505,9 @@ /* Define to 1 when the gnulib module strncat should be tested. */ #undef GNULIB_TEST_STRNCAT +/* Define to 1 when the gnulib module strncpy should be tested. */ +#undef GNULIB_TEST_STRNCPY + /* Define to 1 when the gnulib module strstr should be tested. */ #undef GNULIB_TEST_STRSTR @@ -868,6 +871,9 @@ */ #undef HAVE_DECL___ARGV +/* Define to 1 if dladdr exists and is defined in libc. */ +#undef HAVE_DLADDR_IN_LIBC + /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H @@ -1008,7 +1014,7 @@ /* Define to 1 if malloc (0) returns nonnull. */ #undef HAVE_MALLOC_0_NONNULL -/* Define if malloc, realloc, and calloc set errno on allocation failure. */ +/* Define if malloc and calloc set errno on allocation failure. */ #undef HAVE_MALLOC_POSIX /* Define to 1 if malloc-like functions do not allocate objects larger than @@ -1114,6 +1120,9 @@ /* Define to 1 if realloc (..., 0) returns nonnull. */ #undef HAVE_REALLOC_0_NONNULL +/* Define if realloc sets errno on allocation failure. */ +#undef HAVE_REALLOC_POSIX + /* Define to 1 if 'long double' and 'double' have the same representation. */ #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE @@ -1265,6 +1274,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PROCESS_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H @@ -1328,6 +1340,9 @@ /* Define if you have a global __progname variable */ #undef HAVE_VAR___PROGNAME +/* Define to 1 if you have the 'vasprintf' function. */ +#undef HAVE_VASPRINTF + /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #undef HAVE_VISIBILITY @@ -1427,7 +1442,7 @@ if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since C99 through C23 prohibit extern inline functions - from calling static functions (ISO C 23 section 6.7.5.(2)). + from calling static functions (ISO C 23 § 6.7.5 ¶ 3)). Although a future C standard will likely relax this restriction , respect it for now. This bug is known to occur on: @@ -2385,22 +2400,25 @@ #endif /* _GL_ATTRIBUTE_CONST declares: - It is OK for a compiler to move calls to the function and to omit - calls to the function if another call has the same arguments or the - result is not used. - This attribute is safe for a function that neither depends on - nor affects state, and always returns exactly once - + It is OK for a compiler to move a call, or omit a duplicate call + and reuse a cached return value, even if the state changes between calls. + It is also OK to omit a call if the result is not used. + This attribute is safe if the function does not change observable state, + returns a value determined solely by its arguments' values + without examining state, and always returns exactly once - e.g., does not raise an exception, call longjmp, or loop forever. (This attribute is stricter than _GL_ATTRIBUTE_PURE because the - function cannot observe state. It is stricter than - _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly - once and cannot depend on state addressed by its arguments.) */ + function cannot observe state. Unlike _GL_ATTRIBUTE_UNSEQUENCED + the function must return exactly once and cannot access state + addressed by its pointer arguments or that happens to have the same + value for all calls to the function, but the function is allowed to + return a pointer to storage that can be modified later. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_CONST # if _GL_HAS_ATTRIBUTE (const) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) # else -# define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED +# define _GL_ATTRIBUTE_CONST # endif #endif @@ -2561,7 +2579,9 @@ /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if the entity is not used. The compiler should not warn if the entity is not - used. */ + used. However, 'int _GL_UNNAMED (i)' is preferable to + '_GL_ATTRIBUTE_MAYBE_UNUSED int i' when parameter I is unused + regardless of preprocessor macro settings. */ /* Applies to: - function, variable, - struct, union, struct/union member, @@ -2715,39 +2735,40 @@ #endif /* _GL_ATTRIBUTE_PURE declares: - It is OK for a compiler to move calls to the function and to omit - calls to the function if another call has the same arguments or the - result is not used, and if observable state is the same. - This attribute is safe for a function that does not affect observable state - and always returns exactly once. + It is OK for a compiler to move a call, or omit a duplicate call + and reuse a cached return value, if observable state is the same. + It is also OK to omit a call if the return value is not used. + This attribute is safe if the function does not change observable state, + returns a value determined solely by its arguments's values + together with observable state, and always returns exactly once. (This attribute is looser than _GL_ATTRIBUTE_CONST because the function - can depend on observable state. It is stricter than - _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly - once and cannot affect state addressed by its arguments.) */ + can depend on observable state. + Unlike _GL_ATTRIBUTE_REPRODUCIBLE the function must return exactly + once and cannot change state addressed by its arguments, but the + function can return a pointer to storage whose contents change later.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_PURE # if _GL_HAS_ATTRIBUTE (pure) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else -# define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE +# define _GL_ATTRIBUTE_PURE # endif #endif /* _GL_ATTRIBUTE_REPRODUCIBLE declares: - It is OK for a compiler to move calls to the function and to omit duplicate - calls to the function with the same arguments, so long as the state - addressed by its arguments is the same and is updated in time for - the rest of the program. - This attribute is safe for a function that is effectless and idempotent; see - ISO C 23 § 6.7.12.7 for a definition of these terms. + It is OK for a compiler to move a call, or omit a duplicate call + and reuse a cached value returned either directly or indirectly via + a pointer, if other observable state is the same; + however, pointer arguments cannot alias. + This attribute is safe for a function that is effectless and idempotent; + see ISO C 23 § 6.7.13.8 for a definition of these terms. (This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because - the function need not be stateless and idempotent. It is looser - than _GL_ATTRIBUTE_PURE because the function need not return - exactly once and can affect state addressed by its arguments.) + the function need not be stateless or independent. + Unlike _GL_ATTRIBUTE_PURE the function need not return exactly once + and can change state addressed by its pointer arguments, but the + function cannot return a pointer to storage whose contents change later.) See also and - . - ATTENTION! Efforts are underway to change the meaning of this attribute. - See . */ + . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_REPRODUCIBLE /* This may be revisited when gcc and clang support [[reproducible]] or possibly @@ -2787,20 +2808,22 @@ #endif /* _GL_ATTRIBUTE_UNSEQUENCED declares: - It is OK for a compiler to move calls to the function and to omit duplicate - calls to the function with the same arguments, so long as the state - addressed by its arguments is the same. + It is OK for a compiler to move a call, or omit a duplicate call + and reuse a cached value returned either directly or indirectly via + a pointer, if the state addressed by its pointer arguments is the same; + however, pointer arguments cannot alias. This attribute is safe for a function that is effectless, idempotent, - stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of + stateless, and independent; see ISO C 23 § 6.7.13.8 for a definition of these terms. (This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because - the function must be stateless and independent. It is looser than - _GL_ATTRIBUTE_CONST because the function need not return exactly - once and can depend on state addressed by its arguments.) + the function must be stateless and independent. Unlike + _GL_ATTRIBUTE_CONST the function need not return exactly once, and + can depend on state accessed via its pointer arguments or that + happens to have the same value for all calls to the function, but + the function cannot return a pointer to storage whose contents + change later.) See also and - . - ATTENTION! Efforts are underway to change the meaning of this attribute. - See . */ + . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_UNSEQUENCED /* This may be revisited when gcc and clang support [[unsequenced]] or possibly @@ -2839,6 +2862,21 @@ # endif #endif +/* _GL_UNNAMED (ID) is the "name" of an unnamed function parameter. + Each of the function's unnamed parameters should have a unique "name". + The "name" cannot be used. This ports both to C17 and earlier, which + lack unnamed parameters, and to C++ and later C, which have them. */ +/* Applies to: + - function parameters. */ +#ifndef _GL_UNNAMED +# if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 202311 \ + && !defined __cplusplus) +# define _GL_UNNAMED(id) unnamed_##id _GL_ATTRIBUTE_UNUSED +# else +# define _GL_UNNAMED(id) +# endif +#endif + /* The following attributes enable detection of multithread-safety problems and resource leaks at compile-time, by clang ≥ 15, when the warning option -Wthread-safety is enabled. For usage, see @@ -2992,8 +3030,8 @@ References: ISO C23 (latest free draft - ) - sections 6.5.3.4, 6.7.5, 7.15. + ) + sections 6.2.8, 6.7.6. C++11 (latest free draft ) section 18.10. */ diff --git a/configure b/configure index 9ef1634a..8f46ff1e 100755 --- a/configure +++ b/configure @@ -723,12 +723,12 @@ GL_COND_OBJ_STRERROR_FALSE GL_COND_OBJ_STRERROR_TRUE GL_COND_OBJ_STPCPY_FALSE GL_COND_OBJ_STPCPY_TRUE +GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE +GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE GL_COND_OBJ_STDIO_WRITE_FALSE GL_COND_OBJ_STDIO_WRITE_TRUE GL_COND_OBJ_STDIO_READ_FALSE GL_COND_OBJ_STDIO_READ_TRUE -GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE -GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE NEXT_AS_FIRST_DIRECTIVE_STDIO_H NEXT_STDIO_H GL_COND_OBJ_STAT_FALSE @@ -2621,6 +2621,8 @@ HAVE_OFF64_T WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H +GL_COND_OBJ_STRNCPY_FALSE +GL_COND_OBJ_STRNCPY_TRUE GL_COND_OBJ_STRNCAT_FALSE GL_COND_OBJ_STRNCAT_TRUE NEXT_AS_FIRST_DIRECTIVE_STRING_H @@ -2657,6 +2659,7 @@ NEXT_SCHED_H HAVE_SYS_CDEFS_H REPLACE_SCHED_YIELD HAVE_SCHED_YIELD +LIBDL reloc_final_prefix_c_make reloc_final_prefix_c RELOCATABLE @@ -2797,6 +2800,7 @@ REPLACE_STRCASESTR REPLACE_STRSTR REPLACE_STRNLEN REPLACE_STRNDUP +REPLACE_STRNCPY REPLACE_STRNCAT REPLACE_STRDUP REPLACE_STRCHRNUL @@ -2863,6 +2867,7 @@ GL_GNULIB_MBSNLEN GL_GNULIB_MBSLEN GL_GNULIB_STR_ENDSWITH GL_GNULIB_STR_STARTSWITH +GL_GNULIB_STRNUL GL_GNULIB_STRTOK_R GL_GNULIB_STRCASESTR GL_GNULIB_STRSTR @@ -2870,6 +2875,7 @@ GL_GNULIB_STRSEP GL_GNULIB_STRPBRK GL_GNULIB_STRNLEN GL_GNULIB_STRNDUP +GL_GNULIB_STRNCPY GL_GNULIB_STRNCAT GL_GNULIB_STRINGEQ GL_GNULIB_STRDUP @@ -3121,6 +3127,7 @@ GL_GNULIB_SQRTF GL_GNULIB_SINHF GL_GNULIB_SINL GL_GNULIB_SINF +GL_GNULIB_SIGNBIT_NO_CXX GL_GNULIB_SIGNBIT GL_GNULIB_SETPAYLOADSIGL GL_GNULIB_SETPAYLOADSIGF @@ -3165,8 +3172,11 @@ GL_GNULIB_LDEXP GL_GNULIB_ISNANL GL_GNULIB_ISNAND GL_GNULIB_ISNANF +GL_GNULIB_ISNAN_NO_CXX GL_GNULIB_ISNAN +GL_GNULIB_ISINF_NO_CXX GL_GNULIB_ISINF +GL_GNULIB_ISFINITE_NO_CXX GL_GNULIB_ISFINITE GL_GNULIB_ILOGBL GL_GNULIB_ILOGBF @@ -3231,6 +3241,7 @@ REPLACE_TANHF REPLACE_TANF REPLACE_SQRTL REPLACE_SQRTF +REPLACE_SINL REPLACE_SINHF REPLACE_SINF REPLACE_SIGNBIT_USING_BUILTINS @@ -3518,6 +3529,7 @@ REPLACE_ABORT REPLACE__EXIT HAVE_DECL_UNSETENV HAVE_UNLOCKPT +HAVE_SYS_PROCESS_H HAVE_SYS_LOADAVG_H HAVE_STRUCT_RANDOM_DATA HAVE_STRTOULL @@ -3574,6 +3586,7 @@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H NEXT_FLOAT_H GL_GNULIB_MDA_OPEN GL_GNULIB_MDA_CREAT +GL_GNULIB_OPENAT2 GL_GNULIB_OPENAT GL_GNULIB_OPEN GL_GNULIB_NONBLOCKING @@ -3585,6 +3598,7 @@ REPLACE_OPENAT REPLACE_OPEN REPLACE_FCNTL REPLACE_CREAT +HAVE_OPENAT2 HAVE_OPENAT HAVE_FCNTL GL_GENERATE_ERRNO_H_FALSE @@ -5951,6 +5965,7 @@ as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_P as_fn_append ac_header_c_list " error.h error_h HAVE_ERROR_H" as_fn_append ac_func_c_list " fcntl HAVE_FCNTL" as_fn_append ac_func_c_list " getdtablesize HAVE_GETDTABLESIZE" +as_fn_append ac_header_c_list " sys/process.h sys_process_h HAVE_SYS_PROCESS_H" as_fn_append ac_func_c_list " getexecname HAVE_GETEXECNAME" as_fn_append ac_func_c_list " gettimeofday HAVE_GETTIMEOFDAY" as_fn_append ac_header_c_list " netdb.h netdb_h HAVE_NETDB_H" @@ -9864,8 +9879,8 @@ esac # Code from module setsockopt-tests: # Code from module signal-h: # Code from module signal-h-tests: - # Code from module signbit: - # Code from module signbit-tests: + # Code from module signbit-no-c++: + # Code from module signbit-no-c++-tests: # Code from module signed-nan: # Code from module signed-snan: # Code from module sigprocmask: @@ -9902,6 +9917,7 @@ esac # Code from module stdio-h-tests: + # Code from module stdio-windows: # Code from module stdlib-h: # Code from module stdlib-h-tests: # Code from module stpcpy: @@ -9909,7 +9925,7 @@ esac # Code from module str_endswith-tests: # Code from module str_startswith: # Code from module str_startswith-tests: - # Code from module streq: + # Code from module streq-opt: # Code from module strerror: # Code from module strerror-override: # Code from module strerror-tests: @@ -9924,6 +9940,8 @@ esac # Code from module stringeq: # Code from module strncat: # Code from module strncat-tests: + # Code from module strncpy: + # Code from module strncpy-tests: # Code from module strstr: # Code from module strstr-simple: # Code from module strstr-tests: @@ -22771,6 +22789,7 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_FCNTL=1; HAVE_OPENAT=1; + HAVE_OPENAT2=0; REPLACE_CREAT=0; REPLACE_FCNTL=0; REPLACE_OPEN=0; @@ -23193,6 +23212,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_OPENAT2=0 + + + GL_GNULIB_MDA_CREAT=1 @@ -23488,6 +23511,7 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h HAVE_STRTOULL=1; HAVE_STRUCT_RANDOM_DATA=1; HAVE_SYS_LOADAVG_H=0; + HAVE_SYS_PROCESS_H=0; HAVE_UNLOCKPT=1; HAVE_DECL_UNSETENV=1; REPLACE__EXIT=0; @@ -23936,6 +23960,7 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h REPLACE_SIGNBIT_USING_BUILTINS=0; REPLACE_SINF=0; REPLACE_SINHF=0; + REPLACE_SINL=0; REPLACE_SQRTF=0; REPLACE_SQRTL=0; REPLACE_TANF=0; @@ -24201,14 +24226,26 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_ISFINITE_NO_CXX=0 + + + GL_GNULIB_ISINF=0 + GL_GNULIB_ISINF_NO_CXX=0 + + + GL_GNULIB_ISNAN=0 + GL_GNULIB_ISNAN_NO_CXX=0 + + + GL_GNULIB_ISNANF=0 @@ -24385,6 +24422,10 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_SIGNBIT_NO_CXX=0 + + + GL_GNULIB_SINF=0 @@ -24594,8 +24635,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:24597: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:24598: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:24638: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:24639: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -24624,7 +24665,7 @@ rm -rf conftest* *) : ;; esac - echo "$as_me:24627: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:24668: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" @@ -24876,7 +24917,7 @@ fi fi fi - echo "$as_me:24879: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:24920: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 @@ -25299,6 +25340,8 @@ then : case "$host_os" in cygwin*) # Guess no on Cygwin. gl_cv_func_getlocalename_l_works="guessing no" ;; + haiku*) # Guess no on Haiku. + gl_cv_func_getlocalename_l_works="guessing no" ;; *) # Guess yes otherwise. gl_cv_func_getlocalename_l_works="guessing yes" ;; esac @@ -25311,8 +25354,21 @@ else case e in #( #include int main () { - const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE); - return strlen (ret) == 0; + int result = 0; + /* Check against the Cygwin bug. */ + { + const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE); + if (strlen (ret) == 0) + result |= 1; + } + /* Check against the Haiku oddity. */ + { + const char *ret = + getlocalename_l (LC_COLLATE, newlocale (LC_ALL_MASK, "C", NULL)); + if (strcmp (ret, "C") != 0) + result |= 2; + } + return result; } _ACEOF if ac_fn_c_try_run "$LINENO" @@ -30502,8 +30558,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:30505: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:30506: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:30561: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:30562: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -30532,7 +30588,7 @@ rm -rf conftest* *) : ;; esac - echo "$as_me:30535: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:30591: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" @@ -30784,7 +30840,7 @@ fi fi fi - echo "$as_me:30787: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:30843: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 @@ -31074,8 +31130,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:31077: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:31078: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:31133: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:31134: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -31104,7 +31160,7 @@ rm -rf conftest* *) : ;; esac - echo "$as_me:31107: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:31163: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" @@ -31356,7 +31412,7 @@ fi fi fi - echo "$as_me:31359: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:31415: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 @@ -31775,14 +31831,14 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc set errno on failure" >&5 -printf %s "checking whether malloc, realloc, calloc set errno on failure... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, calloc set errno on failure" >&5 +printf %s "checking whether malloc, calloc set errno on failure... " >&6; } if test ${gl_cv_func_malloc_posix+y} then : printf %s "(cached) " >&6 else case e in #( e) - case "$host_os" in + case "$host_os" in mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31811,6 +31867,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; solaris*) + gl_cv_func_malloc_posix=no ;; *) gl_cv_func_malloc_posix=yes ;; @@ -32314,6 +32371,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRNCPY=0 + + + GL_GNULIB_STRNDUP=0 @@ -32342,6 +32403,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRNUL=0 + + + GL_GNULIB_STR_STARTSWITH=0 @@ -32493,6 +32558,7 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } REPLACE_STRCHRNUL=0; REPLACE_STRDUP=0; REPLACE_STRNCAT=0; + REPLACE_STRNCPY=0; REPLACE_STRNDUP=0; REPLACE_STRNLEN=0; REPLACE_STRSTR=0; @@ -33182,6 +33248,82 @@ printf "%s\n" "#define INSTALLPREFIX ${reloc_final_prefix_c}" >>confdefs.h printf "%s\n" "#define ENABLE_RELOCATABLE 1" >>confdefs.h + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library needed for dlopen and dlsym" >&5 +printf %s "checking for library needed for dlopen and dlsym... " >&6; } +if test ${gl_cv_lib_dl+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return ! dlsym (RTLD_DEFAULT, "main"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_lib_dl=none +else case e in #( + e) gl_cv_lib_dl=maybe ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + if test $gl_cv_lib_dl = maybe; then + saved_LIBS="$LIBS" + LIBS="$LIBS -ldl" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return ! dlsym (RTLD_DEFAULT, "main"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_lib_dl='-ldl' +else case e in #( + e) gl_cv_lib_dl=none ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$saved_LIBS" + fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_dl" >&5 +printf "%s\n" "$gl_cv_lib_dl" >&6; } + case "$gl_cv_lib_dl" in + none) LIBDL='' ;; + *) LIBDL="$gl_cv_lib_dl" ;; + esac + + + if test -z "$LIBDL"; then + ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr" +if test "x$ac_cv_func_dladdr" = xyes +then : + +printf "%s\n" "#define HAVE_DLADDR_IN_LIBC 1" >>confdefs.h + + +fi + fi @@ -34067,6 +34209,116 @@ printf "%s\n" "$gl_cv_func_strncat_works" >&6; } + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strncpy works" >&5 +printf %s "checking whether strncpy works... " >&6; } +if test ${gl_cv_func_strncpy_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + + case "$host_os" in + # Guess no on FreeBSD. + freebsd* | dragonfly*) gl_cv_func_strncpy_works="guessing no" ;; + # Guess yes on native Windows. + mingw* | windows*) gl_cv_func_strncpy_works="guessing yes" ;; + # Guess yes otherwise. + *) gl_cv_func_strncpy_works="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_SYS_MMAN_H +# include +# include +# include +# include +#endif + + +$gl_mda_defines + +int +main (void) +{ + + char *fence = NULL; +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT + { + long int pagesize = sysconf (_SC_PAGESIZE); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } +#endif + if (fence) + { + char dest[8]; + + dest[0] = 'a'; + dest[1] = 'b'; + dest[2] = 'c'; + dest[3] = 'd'; + dest[4] = 'e'; + dest[5] = 'f'; + dest[6] = 'g'; + + *(fence - 3) = '7'; + *(fence - 2) = '2'; + *(fence - 1) = '9'; + + if (strncpy (dest + 1, fence - 3, 3) != dest + 1) + return 1; + if (dest[0] != 'a') + return 2; + if (dest[1] != '7' || dest[2] != '2' || dest[3] != '9') + return 3; + if (dest[4] != 'e') + return 4; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_strncpy_works=yes +else case e in #( + e) gl_cv_func_strncpy_works=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strncpy_works" >&5 +printf "%s\n" "$gl_cv_func_strncpy_works" >&6; } + case "$gl_cv_func_strncpy_works" in + *yes) ;; + *) REPLACE_STRNCPY=1 ;; + esac + + + + if test $REPLACE_MEMCHR = 1; then REPLACE_STRSTR=1 else @@ -40637,6 +40889,7 @@ printf "%s\n" "#define HAVE_DECL_GETDTABLESIZE $ac_have_decl" >>confdefs.h + HAVE_GETTIMEOFDAY=1; HAVE_STRUCT_TIMEVAL=1; HAVE_SYS_TIME_H=1; @@ -43438,7 +43691,7 @@ printf "%s\n" "#define HAVE_DECL_UNSETENV $ac_have_decl" >>confdefs.h -Wno-sign-conversion -Wno-type-limits #endif - #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) + #if (__GNUC__ + (__GNUC_MINOR__ >= 1) > 6 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-unused-const-variable #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 5) > 4 && !defined __clang__) @@ -50699,13 +50952,13 @@ fi - GL_GNULIB_SIGNBIT=1 + GL_GNULIB_SIGNBIT_NO_CXX=1 -printf "%s\n" "#define GNULIB_TEST_SIGNBIT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_SIGNBIT_NO_CXX 1" >>confdefs.h @@ -51126,6 +51379,52 @@ printf "%s\n" "#define GNULIB_TEST_STRNCAT 1" >>confdefs.h + if test $REPLACE_STRNCPY = 1; then + GL_COND_OBJ_STRNCPY_TRUE= + GL_COND_OBJ_STRNCPY_FALSE='#' +else + GL_COND_OBJ_STRNCPY_TRUE='#' + GL_COND_OBJ_STRNCPY_FALSE= +fi +: + if test -z "${GL_COND_OBJ_STRNCPY_TRUE}" && test -z "${GL_COND_OBJ_STRNCPY_FALSE}"; then + GL_COND_OBJ_STRNCPY_TRUE='#' + GL_COND_OBJ_STRNCPY_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_STRNCPY_TRUE"; then : + + + : + + +fi + + + + + + + + + + + + + + + GL_GNULIB_STRNCPY=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_STRNCPY 1" >>confdefs.h + + + + + if test $REPLACE_STRSTR = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5 printf %s "checking whether strstr works in linear time... " >&6; } @@ -75612,6 +75911,12 @@ printf "%s\n" "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h + if test $ac_cv_header_sys_process_h = yes; then + HAVE_SYS_PROCESS_H=1 + else + HAVE_SYS_PROCESS_H=0 + fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname" >&5 printf %s "checking for getprogname... " >&6; } @@ -76110,7 +76415,7 @@ printf "%s\n" "#define HAVE_DUPLOCALE 1" >>confdefs.h - HAVE_INET_PTON=1 + HAVE_INET_PTON=1 INET_PTON_LIB= @@ -76182,7 +76487,7 @@ return inet_pton (); return 0; } _ACEOF -for ac_lib in '' nsl resolv network +for ac_lib in '' nsl resolv network socket do if test -z "$ac_lib"; then ac_res="none required" @@ -77598,6 +77903,46 @@ printf "%s\n" "#define HAVE_BUG_BIG_NANOSLEEP 1" >>confdefs.h ;; esac else + # Replace the static inline function on mingw which requires linking to + # libwinpthreads. + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for static inline nanosleep" >&5 +printf %s "checking for static inline nanosleep... " >&6; } +if test ${gl_cv_static_inline_nanosleep+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ + + static struct timespec ts1; + static struct timespec ts2; + return nanosleep (&ts1, &ts2); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_static_inline_nanosleep=yes +else case e in #( + e) gl_cv_static_inline_nanosleep=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_static_inline_nanosleep" >&5 +printf "%s\n" "$gl_cv_static_inline_nanosleep" >&6; } + if test $gl_cv_static_inline_nanosleep = yes; then + REPLACE_NANOSLEEP=1 + fi HAVE_NANOSLEEP=0 fi LIBS=$gl_saved_LIBS @@ -80094,13 +80439,75 @@ printf "%s\n" "#define GNULIB_TEST_RANDOM_R 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc sets errno on failure" >&5 +printf %s "checking whether realloc sets errno on failure... " >&6; } +if test ${gl_cv_func_realloc_posix+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + darwin* | freebsd* | dragonfly* | midnightbsd* | netbsd* | openbsd*) + if test "$cross_compiling" = yes +then : + case "$host_os" in + freebsd*) gl_cv_func_realloc_posix="guessing no" ;; + *) gl_cv_func_realloc_posix="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + int main (int argc, char **argv) + { + void *p; + errno = 1729; + p = realloc (malloc (1), (size_t)(-1) / 100 * 49); + return (!p && errno == 1729); + } + + +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_realloc_posix=yes +else case e in #( + e) gl_cv_func_realloc_posix=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; + *) + gl_cv_func_realloc_posix="$gl_cv_func_malloc_posix" + ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realloc_posix" >&5 +printf "%s\n" "$gl_cv_func_realloc_posix" >&6; } + case "$gl_cv_func_realloc_posix" in + *yes) + +printf "%s\n" "#define HAVE_REALLOC_POSIX 1" >>confdefs.h + + ;; + *) + REPLACE_REALLOC_FOR_REALLOC_POSIX=1 + ;; + esac + if test "$gl_cv_func_realloc_sanitize" != no; then REPLACE_REALLOC_FOR_REALLOC_POSIX=1 printf "%s\n" "#define NEED_SANITIZED_REALLOC 1" >>confdefs.h - else - REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX fi @@ -81515,40 +81922,6 @@ fi - USES_MSVCRT=0 - case "$host_os" in - mingw* | windows*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #ifndef _UCRT - Special - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 -then : - USES_MSVCRT=1 -fi -rm -rf conftest* - - ;; - esac - - if test $USES_MSVCRT = 1; then - GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE= - GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' -else - GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' - GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE= -fi -: - if test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE}" && test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE}"; then - GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' - GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' - fi - if test $REPLACE_STDIO_READ_FUNCS = 1; then GL_COND_OBJ_STDIO_READ_TRUE= @@ -82014,6 +82387,48 @@ printf "%s\n" "#define GNULIB_TEST_FWRITE 1" >>confdefs.h + USES_MSVCRT=0 + case "$host_os" in + mingw* | windows*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #ifndef _UCRT + Special + #endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 +then : + USES_MSVCRT=1 +fi +rm -rf conftest* + + ;; + esac + + if test $USES_MSVCRT = 1; then + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE= + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' +else + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE= +fi +: + if test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE}" && test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE}"; then + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' + fi + + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" +if test "x$ac_cv_func_vasprintf" = xyes +then : + printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h + +fi + + @@ -82524,6 +82939,9 @@ printf "%s\n" "#define GNULIB_STRERROR_R_POSIX $gl_module_indicator_condition" > + + + if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 else diff --git a/doc/Makefile.in b/doc/Makefile.in index 2bd1784c..1578c95f 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -168,6 +168,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/lib-ld.m4 \ $(top_srcdir)/gnulib-m4/lib-link.m4 \ $(top_srcdir)/gnulib-m4/lib-prefix.m4 \ + $(top_srcdir)/gnulib-m4/libdl.m4 \ $(top_srcdir)/gnulib-m4/libunistring-base.m4 \ $(top_srcdir)/gnulib-m4/limits-h.m4 \ $(top_srcdir)/gnulib-m4/localcharset.m4 \ @@ -268,6 +269,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/string_h.m4 \ $(top_srcdir)/gnulib-m4/stringeq.m4 \ $(top_srcdir)/gnulib-m4/strncat.m4 \ + $(top_srcdir)/gnulib-m4/strncpy.m4 \ $(top_srcdir)/gnulib-m4/strstr.m4 \ $(top_srcdir)/gnulib-m4/symlink.m4 \ $(top_srcdir)/gnulib-m4/sys_cdefs_h.m4 \ @@ -657,13 +659,16 @@ GL_GNULIB_ISBLANK_L = @GL_GNULIB_ISBLANK_L@ GL_GNULIB_ISCNTRL_L = @GL_GNULIB_ISCNTRL_L@ GL_GNULIB_ISDIGIT_L = @GL_GNULIB_ISDIGIT_L@ GL_GNULIB_ISFINITE = @GL_GNULIB_ISFINITE@ +GL_GNULIB_ISFINITE_NO_CXX = @GL_GNULIB_ISFINITE_NO_CXX@ GL_GNULIB_ISGRAPH_L = @GL_GNULIB_ISGRAPH_L@ GL_GNULIB_ISINF = @GL_GNULIB_ISINF@ +GL_GNULIB_ISINF_NO_CXX = @GL_GNULIB_ISINF_NO_CXX@ GL_GNULIB_ISLOWER_L = @GL_GNULIB_ISLOWER_L@ GL_GNULIB_ISNAN = @GL_GNULIB_ISNAN@ GL_GNULIB_ISNAND = @GL_GNULIB_ISNAND@ GL_GNULIB_ISNANF = @GL_GNULIB_ISNANF@ GL_GNULIB_ISNANL = @GL_GNULIB_ISNANL@ +GL_GNULIB_ISNAN_NO_CXX = @GL_GNULIB_ISNAN_NO_CXX@ GL_GNULIB_ISPRINT_L = @GL_GNULIB_ISPRINT_L@ GL_GNULIB_ISPUNCT_L = @GL_GNULIB_ISPUNCT_L@ GL_GNULIB_ISSPACE_L = @GL_GNULIB_ISSPACE_L@ @@ -811,6 +816,7 @@ GL_GNULIB_OBSTACK_PRINTF_POSIX = @GL_GNULIB_OBSTACK_PRINTF_POSIX@ GL_GNULIB_OBSTACK_ZPRINTF = @GL_GNULIB_OBSTACK_ZPRINTF@ GL_GNULIB_OPEN = @GL_GNULIB_OPEN@ GL_GNULIB_OPENAT = @GL_GNULIB_OPENAT@ +GL_GNULIB_OPENAT2 = @GL_GNULIB_OPENAT2@ GL_GNULIB_OVERRIDES_STRUCT_STAT = @GL_GNULIB_OVERRIDES_STRUCT_STAT@ GL_GNULIB_PCLOSE = @GL_GNULIB_PCLOSE@ GL_GNULIB_PERROR = @GL_GNULIB_PERROR@ @@ -892,6 +898,7 @@ GL_GNULIB_SIGACTION = @GL_GNULIB_SIGACTION@ GL_GNULIB_SIGDESCR_NP = @GL_GNULIB_SIGDESCR_NP@ GL_GNULIB_SIGNAL_H_SIGPIPE = @GL_GNULIB_SIGNAL_H_SIGPIPE@ GL_GNULIB_SIGNBIT = @GL_GNULIB_SIGNBIT@ +GL_GNULIB_SIGNBIT_NO_CXX = @GL_GNULIB_SIGNBIT_NO_CXX@ GL_GNULIB_SIGPROCMASK = @GL_GNULIB_SIGPROCMASK@ GL_GNULIB_SINF = @GL_GNULIB_SINF@ GL_GNULIB_SINHF = @GL_GNULIB_SINHF@ @@ -919,8 +926,10 @@ GL_GNULIB_STRERROR_R = @GL_GNULIB_STRERROR_R@ GL_GNULIB_STRFTIME = @GL_GNULIB_STRFTIME@ GL_GNULIB_STRINGEQ = @GL_GNULIB_STRINGEQ@ GL_GNULIB_STRNCAT = @GL_GNULIB_STRNCAT@ +GL_GNULIB_STRNCPY = @GL_GNULIB_STRNCPY@ GL_GNULIB_STRNDUP = @GL_GNULIB_STRNDUP@ GL_GNULIB_STRNLEN = @GL_GNULIB_STRNLEN@ +GL_GNULIB_STRNUL = @GL_GNULIB_STRNUL@ GL_GNULIB_STRPBRK = @GL_GNULIB_STRPBRK@ GL_GNULIB_STRPTIME = @GL_GNULIB_STRPTIME@ GL_GNULIB_STRSEP = @GL_GNULIB_STRSEP@ @@ -1435,6 +1444,7 @@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_OFF64_T = @HAVE_OFF64_T@ HAVE_OPENAT = @HAVE_OPENAT@ +HAVE_OPENAT2 = @HAVE_OPENAT2@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ @@ -1592,6 +1602,7 @@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_PROCESS_H = @HAVE_SYS_PROCESS_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ @@ -1692,6 +1703,7 @@ LC_NUMERIC_IMPLEMENTED = @LC_NUMERIC_IMPLEMENTED@ LC_TIME_IMPLEMENTED = @LC_TIME_IMPLEMENTED@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LIBDL = @LIBDL@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ @@ -2143,6 +2155,7 @@ REPLACE_SIGNBIT = @REPLACE_SIGNBIT@ REPLACE_SIGNBIT_USING_BUILTINS = @REPLACE_SIGNBIT_USING_BUILTINS@ REPLACE_SINF = @REPLACE_SINF@ REPLACE_SINHF = @REPLACE_SINHF@ +REPLACE_SINL = @REPLACE_SINL@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ @@ -2162,6 +2175,7 @@ REPLACE_STRERROR_L = @REPLACE_STRERROR_L@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNCPY = @REPLACE_STRNCPY@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ diff --git a/doc/libunistring_1.html b/doc/libunistring_1.html index ac13156f..3c482ce1 100644 --- a/doc/libunistring_1.html +++ b/doc/libunistring_1.html @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + +