Mercurial > gnulib
changeset 40028:8850daca13bd
localename: Fix use of uninitialized shell variable.
* m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Initialize
gt_cv_locale_solaris114 always before use. Remove assignment without
effect.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 15 Dec 2018 23:27:49 +0100 |
parents | 4a3cb97ca34c |
children | 6160efb8efef |
files | ChangeLog m4/intl-thread-locale.m4 |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Dec 15 22:01:27 2018 +0100 +++ b/ChangeLog Sat Dec 15 23:27:49 2018 +0100 @@ -1,3 +1,10 @@ +2018-12-15 Bruno Haible <bruno@clisp.org> + + localename: Fix use of uninitialized shell variable. + * m4/intl-thread-locale.m4 (gt_INTL_THREAD_LOCALE_NAME): Initialize + gt_cv_locale_solaris114 always before use. Remove assignment without + effect. + 2018-12-15 Bruno Haible <bruno@clisp.org> dfa tests: Avoid test failure on Alpine Linux.
--- a/m4/intl-thread-locale.m4 Sat Dec 15 22:01:27 2018 +0100 +++ b/m4/intl-thread-locale.m4 Sat Dec 15 23:27:49 2018 +0100 @@ -1,4 +1,4 @@ -# intl-thread-locale.m4 serial 1 +# intl-thread-locale.m4 serial 2 dnl Copyright (C) 2015-2018 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -48,9 +48,10 @@ *) gt_cv_locale_solaris114=no ;; esac ]) + else + gt_cv_locale_solaris114=no fi if test $gt_cv_locale_solaris114 = yes; then - gt_nameless_locales=yes AC_DEFINE([HAVE_SOLARIS114_LOCALES], [1], [Define if the locale_t type is as on Solaris 11.4.]) fi