summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-07-29 07:56:05 +0000
committerache <ache@FreeBSD.org>2003-07-29 07:56:05 +0000
commit31c272ad245b46ce765b94b4ef98043e4d7a5b95 (patch)
tree1651da5946bd57bf8d763df48463fca42ba8edd0
parent2ecc37e2533e5e47d49b7c048283bd8d1938cd0b (diff)
downloadFreeBSD-src-31c272ad245b46ce765b94b4ef98043e4d7a5b95.zip
FreeBSD-src-31c272ad245b46ce765b94b4ef98043e4d7a5b95.tar.gz
Allow GB18030 locale
-rw-r--r--usr.bin/mklocale/yacc.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index 6ec0db3..8362517 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -122,6 +122,7 @@ entry : ENCODING STRING
strcmp($2, "UTF-8") &&
strcmp($2, "EUC") &&
strcmp($2, "GBK") &&
+ strcmp($2, "GB18030") &&
strcmp($2, "BIG5") &&
strcmp($2, "MSKanji"))
warnx("ENCODING %s is not supported by libc", $2);
OpenPOWER on IntegriCloud