From e5ac76418c72f011a7ff5a9770bba39432d7bdad Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 Dec 2019 17:17:02 +0100 Subject: build: Update after gnulib changed. * lib/Makefile.am (libunistring.sym): Don't rename the gl_get_setlocale_null_lock function. * NEWS: Document the fixed multithread-safety bugs: 2019-12-18 Bruno Haible hard-locale: Make multithread-safe. This fix impacts mbrtowc on Cygwin and Haiku. 2019-12-17 Bruno Haible localcharset: Fix multithread-safety bug on Windows and OS/2. --- lib/.gitignore | 8 +++++++- lib/Makefile.am | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/.gitignore b/lib/.gitignore index 6a9f731..1b9e661 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -35,6 +35,7 @@ /iconv_open-irix.gperf /iconv_open-osf.gperf /iconv_open-solaris.gperf +/iconv_open-zos.gperf /iconv_open.c /iconveh.h /isnan.c @@ -85,6 +86,8 @@ /relocatable.c /relocatable.h /relocatable.valgrind +/setlocale-lock.c +/setlocale_null.c /signbitd.c /signbitf.c /signbitl.c @@ -127,13 +130,15 @@ /wctype-h.c /wctype.in.h /wcwidth.c +/windows-initguard.h /windows-mutex.c /windows-mutex.h /windows-once.c /windows-once.h /windows-recmutex.c /windows-recmutex.h -/windows-spinlock.h +/windows-rwlock.c +/windows-rwlock.h /xalloc-oversized.h /xsize.c /xsize.h @@ -145,6 +150,7 @@ /iconv_open-irix.h /iconv_open-osf.h /iconv_open-solaris.h +/iconv_open-zos.h # Files generated by the autotools: /Makefile.in diff --git a/lib/Makefile.am b/lib/Makefile.am index bb05483..aa32f57 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -308,6 +308,7 @@ config.h: $(BUILT_SOURCES) $(srcdir)/libunistring.sym | sed -e 's,.* ,,' | grep -v '@' | LC_ALL=C sort | LC_ALL=C uniq \ | LC_ALL=C join -v 1 - $(srcdir)/libunistring.sym \ | grep -v '^libintl_locale' \ + | grep -v 'gl_get_setlocale_null_lock' \ | sed -e 's,^\(.*\)$$,#define \1 libunistring_\1,' > config.h-t; \ } 6>&1 && \ if test -f config.h; then \ -- cgit v1.2.1