Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14919:439faccac741
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'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 13 Jun 2011 20:05:58 +0200 |
parents | fc8a3cc2baa8 |
children | 530d72c1d0c2 |
files | ChangeLog m4/locale-zh.m4 |
diffstat | 2 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-06-13 Bruno Haible <bruno@clisp.org> + + 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'. + 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> ftoastr: use strtof only if HAVE_STRTOF
--- 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 @@ 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