use setlocale instand of xetlocale in tst-iconv-opt

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit d979527e30dcb003e11cfd1e020ec030a6e13c99)
This commit is contained in:
Yang Yanchao 2021-12-24 17:45:06 +08:00 committed by openeuler-sync-bot
parent 4d3308d5ad
commit 91f05bf262
2 changed files with 6 additions and 3 deletions

View File

@ -836,7 +836,7 @@ index 0000000000..669d812a6a
+static int
+do_test (void)
+{
+ xsetlocale (LC_ALL, "en_US.UTF-8");
+ setlocale (LC_ALL, "en_US.UTF-8");
+
+
+ /* 0. iconv_open should gracefully fail for invalid character sets. */

View File

@ -59,7 +59,7 @@
##############################################################################
Name: glibc
Version: 2.28
Release: 83
Release: 84
Summary: The GNU libc libraries
License: %{all_license}
URL: http://www.gnu.org/software/glibc/
@ -1168,7 +1168,10 @@ fi
%doc hesiod/README.hesiod
%changelog
* Fri Dec 3 2021 Yang yanchao <yangyanchao6huawei.com> - 2.28-83
* Fri Dec 24 2021 Yang yanchao <yangyanchao6@huawei.com> - 2.28-84
- use setlocale instand of xetlocale in tst-iconv-opt
* Fri Dec 3 2021 Yang yanchao <yangyanchao6@huawei.com> - 2.28-83
- iconv: revert Add missing brackets
Rewrite iconv option parsing [BZ #19519]
intl: Handle translation output codesets with suffixes [BZ #26383]