diff options
author | Bruno Haible <bruno@clisp.org> | 2011-06-13 20:05:58 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-13 20:17:07 +0200 |
commit | 5bf7fda437a10cc10cbd1be1bd06b374a581f0dd (patch) | |
tree | 2a05044e27a537182b3e7b38644eef66d1411dde /m4/locale-zh.m4 | |
parent | 41ffc7676c455c12ebd7953e117b60dcc9a9af54 (diff) | |
download | gnulib-5bf7fda437a10cc10cbd1be1bd06b374a581f0dd.tar.gz |
locale-zh: Reject zh_CN.GB18030 locale on Solaris 8.
* m4/locale-zh.m4 (gt_LOCALE_ZH_CN): On Solaris 8, set LOCALE_ZH_CN to
'none'.
Diffstat (limited to 'm4/locale-zh.m4')
-rw-r--r-- | m4/locale-zh.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/m4/locale-zh.m4 b/m4/locale-zh.m4 index e03f91f06a..5e0639880f 100644 --- a/m4/locale-zh.m4 +++ b/m4/locale-zh.m4 @@ -1,4 +1,4 @@ -# locale-zh.m4 serial 8 +# locale-zh.m4 serial 9 dnl Copyright (C) 2003, 2005-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -93,6 +93,12 @@ changequote([,])dnl gt_cv_locale_zh_CN=none fi ;; + solaris2.8) + # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are + # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. + # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. + gt_cv_locale_zh_CN=none + ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the |