From b7ed26c6633ae836938d056490ab4efaa0749af0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Jul 2000 05:54:30 +0000 Subject: [PATCH] Update. 2000-07-25 Ulrich Drepper * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. Reported by Kevin Beard . --- ChangeLog | 5 + localedata/ChangeLog | 3 + localedata/locales/zh_CN | 1320 ++++++++++++++++------------------------------ 3 files changed, 468 insertions(+), 860 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d4b79f..678d86f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-07-25 Ulrich Drepper + + * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. + Reported by Kevin Beard . + 2000-07-25 Mark Kettenis * nss/nss_files/files-netgrp.c (strip_whitespace): New function. diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 6351c03..a0eb82e 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,5 +1,8 @@ 2000-07-25 Ulrich Drepper + * locales/zh_CN: Update for new format. + Patch by Yong Li . + * tst-langinfo.c: Add copyright text. 2000-07-24 Ulrich Drepper diff --git a/localedata/locales/zh_CN b/localedata/locales/zh_CN index 6ac39fe..7c98bc9 100644 --- a/localedata/locales/zh_CN +++ b/localedata/locales/zh_CN @@ -1,896 +1,496 @@ comment_char % escape_char / % -% Chinese language locale for Peoples Republic of China -% Source: RAP and GB2312-1980 -% The work is based on Keld Simonsen's locale definition -% file for zh_CN revision 4.3 and ja_JP revision 2.2 +% Chinese language locale for the Peoples Republic of China % -% Contact: ha_shao -% Email: hashao@china.com -% Language: zh -% Territory: CN -% Revision: 1.0 -% Date: 1999-04-28 -% Users: general -% Repertoiremap: mnemonic,ds -% Charset: GB_2312-80 -% Distribution and use is free, also -% for commercial purposes. - - - -LC_CTYPE - -% The following is the GB2312-1980 Locale LC_CTYPE. -% "alpha" is by default "upper" and "lower" -% "alnum" is by definiton "alpha" and "digit" -% "print" is by default "alnum", "punct" and the character -% "graph" is by default "alnum" and "punct" -% -% -% upper class: -% alphabets in portable character set, -% Roman letters in GB2312-1980, -% Greek letters in GB2312-1980, -% Russian letters in GB2312-1980. - -upper ;;;;;;;;;;;;;/ - ;;

;;;;;;;;;;;/ - ....;/ - ....;/ - .... - -% -% alpha class (default): -% It includes, by default, all the characters defined to be in -% upper or lower classes. -% - -% -% digit class -% -digit ;;;;;/ - ;;;; - -% -% space class: -% Space characters defined in ISO DIS 9945-2 "POSIX" locale -% Space in GB2312-1980 -% - -space ;;;;/ - ;;/ - - -% -% cntrl class: C0 and C1 control characters as per ISO 6429. -% SS2 and SS3 may be excluded if an acompanying charmap uses them -% as single shifts to invoke graphic characters (as in EUC). -% Control characters in udc or vdc may be added. -% - - -cntrl ;;;;;/ - ;;/ - ;;;;;;;;/ - ;;;;;;;;/ - ;;;;;;;;/ - ;;/ - ;;;;;;;;;;/ - ;;;;;;/ - ;;;;;;;;/ - ;;;;;;;; - -% -% punct class: -% Special characters in udc or vdc may be added as long as they -% do not belong to classes cntrl, alpha, digit. +% This work is based on ISO PDTR 14652, Unicode 3.0, locale definition +% file for zh_CN revision 1.0 (hashao@china.com, 1999-04-28) and +% charmap file for GBK version 1.0 (sean.chen@turbolinux.com). % - -punct ;;;/ - ;;;;/ - ;;;/ - ;;;;;/ - ;;;;/ - ;;;/ - ;;;/ - ;;;/ - ;;;;/ - ....;/ - ....;/ - ;;;; - +% The file is designed to work with multiple charsets. To ease the +% maintance and adding support for new charsets, all characters are +% in UCS notation and presented in Unicode order. % -% graph class: -% upper, lower, alpha, digit, xdigit -% GB2312-1980 printable characters -% Printable characters in udc or vdc classes may be added. - -graph ;;;/ - ;;;;/ - ;;;/ - ;;;;;/ - ;;;;;/ - ;;;;;/ - ;;;;/ - ;;/ - ;/ - ;;;;;;;;;;;;;/ - ;;

;;;;;;;;;;;/ - ;;;/ - ;;/ - ;/ - ;;;;;;;;;;;;;/ - ;;

;;;;;;;;;;;/ - ;;;;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - .... - +% Changelog: +% Tue Jul 25 2000 Yong Li +% - first version for glibc 2.2 + +LC_IDENTIFICATION +title "Chinese locale for Peoples Republic of China" +source "" +address "" +contact "" +email "bug-glibc@gnu.org" +tel "" +fax "" +language "zh" +territory "CN" +revision "0.1" +date "2000-07-25" % -% print class: -% , , -% upper, lower, alpha, digit, xdigit -% GB2312-1980 printable characters - -print ;/ - ;;;/ - ;;;;/ - ;;;/ - ;;;;;/ - ;;;;;/ - ;;;;;/ - ;;;;/ - ;;/ - ;/ - ;;;;;;;;;;;;;/ - ;;

;;;;;;;;;;;/ - ;;;/ - ;;/ - ;/ - ;;;;;;;;;;;;;/ - ;;

;;;;;;;;;;;/ - ;;;;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - ....;/ - .... +category "zh_CN:2000";LC_IDENTIFICATION +category "zh_CN:2000";LC_CTYPE +category "zh_CN:2000";LC_COLLATE +category "zh_CN:2000";LC_TIME +category "zh_CN:2000";LC_NUMERIC +category "zh_CN:2000";LC_MONETARY +category "zh_CN:2000";LC_MESSAGES +category "zh_CN:2000";LC_PAPER +category "zh_CN:2000";LC_NAME +category "zh_CN:2000";LC_ADDRESS +category "zh_CN:2000";LC_TELEPHONE -% -% xdigit class -% -xdigit ;;;;;/ - ;;;;;/ - ;;;;;;/ - ;;;;; +END LC_IDENTIFICATION -% -% blank class -% -blank ; -% -% toupper and tolower: also handle Roman, Greek and Russian -% characters in GB3212-1980 - -toupper (,);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (

,

);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,) - -tolower (,);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (

,

);(,);(,);(,);(,);/ - (,);(,);(,);(,);(,);/ - (,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,);/ - (,);(,);(,) +LC_CTYPE +upper / +% Basic Latin/ + ..;/ +% Fullwidth Latin letters/ + ..;/ +% Greek/ + ..;..;/ +% Cyrillic/ + ;.. + +lower / +% Basic Latin/ + ..;/ +% Fullwidth Latin letters/ + ..;/ +% Greek/ + ..;..;/ +% Cyrillic/ + ..;;/ +% Latin-1/ + ;;;;;;;;/ + ;;;;/ +% Latin Extensions/ + ;;;;;;;;/ + ;;;;;;;;/ + ; + +alpha ..;..;/ + ..;..;/ + ..;..;/ + ..;..;/ + ;..;..;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;/ +% Roman Numbers/ + ..;..;/ +% Hiragana/ + ..;;;;;/ +% Katakana/ + ..;;;;/ +% Bopomofo/ + .. + +digit ..;/ +% Fullwidth digits/ + .. + +outdigit .. + +xdigit ..;/ + ..;/ + .. + +% blank: space, tab, ideographic space +blank ;; + +% space: tab, newline, vertical-tab, form-feed, carriage-return, space +space ;;;;;; + +% cntrl: all C0 and C1 control characters +cntrl ..;.. + +punct / +% Based on ISO14652 "i18n" with following modifications:/ +% 1. remove digits and alphabets from full-width forms/ +% 2. add box drawing elements/ +% Basic Latin/ + ..;..;..;..;/ +% Latin-1 Supplement/ + ;;;;;;;/ +% General Punctuation/ + ;..;;;;;;/ + ;;;;;;/ +% Letterlike Symbols/ + ;;;;;/ +% Mathematical Operators and Miscellaneous Technical/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;/ + ;/ +% Box Drawing/ + ..;..;/ +% Block Elements/ + ..;;;;/ +% Geometric Shapes/ + ;;;;;;;;/ + ;;;;;;;/ +% Miscellaneous Symbols/ + ;;;;;/ +% CJK Symbols and Punctuation/ + ;;;..;;;/ +% Enclosed CJK Letters and Months/ + ..;;;/ +% CJK Compatibility/ + ;;;;;;;;/ + ;;;/ +% CJK Compatibility Forms/ + ..;/ +% Small Form Variants/ + ;;;;;;;;/ + ..;;;;;/ +% Fullwidth Forms/ + ..;..;..;..;/ + .. + +graph / +% Basic Latin/ + ..;/ +% Latin-1 Supplement/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;/ +% Latin Extensions/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;/ +% Mandarin tone sympols/ + ;;;;;/ +% Greek/ + ..;..;/ + ..;..;/ +% Cyrillic/ + ;..;;/ +% General Punctuation/ + ;..;;;;;;/ + ;;;;;;/ +% Letterlike Symbols/ + ;;;;;/ +% Roman Numbers/ + ..;..;/ +% Arrows/ + ..;..;/ +% Mathematical Operators and Miscellaneous Technical/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;/ + ;/ +% Enclosed Alphanumerics/ + ..;..;/ +% Box Drawing/ + ..;..;/ +% Block Elements/ + ..;;;;/ +% Geometric Shapes/ + ;;;;;;;;/ + ;;;;;;;/ +% Miscellaneous Symbols/ + ;;;;;/ +% CJK Symbols and Punctuation/ + ;;;..;;;/ + ..;/ +% Hiragana/ + ..;;;;;/ +% Katakana/ + ..;;;;/ +% Bopomofo/ + ..;/ +% Enclosed CJK Letters and Months/ + ..;;;/ +% CJK Compatibility/ + ;;;;;;;;/ + ;;;/ +% Private/ +% symbols/ + ;;..;/ +% hanzi/ + ..;/ +% CJK Compatibility Forms/ + ;;..;..;/ +% Small Form Variants/ + ;;;;;;;;/ + ..;;;;;/ +% Fullwidth Forms/ + ..;..;/ +% CJK Unified Ideographs Extension A/ +% This block is added in Unicode 3 and currently not in any GB encoding./ +% However, the forthcoming GB18030 might include this./ +% ..;/ +% CJK Unified Ideographs/ + ..;/ +% CJK Compatibility Ideographs/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;; + +%print: graph + +print ..;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;/ + ;;;;;/ + ..;..;/ + ..;..;/ + ;..;;/ + ;..;;;;;;/ + ;;;;;;/ + ;;;;;/ + ..;..;/ + ..;..;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;;;/ + ;/ + ..;..;/ + ..;;;;/ + ;;;;;;;;/ + ;;;;;;;/ + ;;;;;/ + ;;;;..;;;/ + ..;/ + ..;;;;;/ + ..;;;;/ + ..;/ + ..;;;/ + ;;;;;;;;/ + ;;;/ + ;;..;/ + ..;/ + ;;..;..;/ + ;;;;;;;;/ + ..;;;;;/ + ..;..;/ +% ..;/ + ..;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;; + +toupper (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,) + +tolower (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + (,);(,);(,);/ + +class "hanzi"; / +% ..;/ + ..;/ + ;;;;;;;;/ + ;;;;;;;;/ + ;;;; END LC_CTYPE +% ISO 14651 collation sequence LC_COLLATE - -order_start forward - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - -% -% GB2312-1980 Code order here -% pinyin first, radical second -% bad sorting here. - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -... - - -UNDEFINED -order_end - +copy "iso14651_t1" END LC_COLLATE -% The following is Keld Simonsen's work. -% I guess no need to add anything. LC_MONETARY -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "<.>" -mon_thousands_sep "<,>" -mon_grouping 3;0 +int_curr_symbol "" +currency_symbol "" +mon_decimal_point "" +mon_thousands_sep "" +mon_grouping 3 positive_sign "" -negative_sign "<->" +negative_sign "" int_frac_digits 2 frac_digits 2 p_cs_precedes 1 p_sep_by_space 0 n_cs_precedes 1 n_sep_by_space 0 -p_sign_posn 1 +int_p_cs_precedes 1 +int_p_sep_by_space 0 +int_n_cs_precedes 1 +int_n_sep_by_space 0 +p_sign_posn 4 n_sign_posn 4 +int_p_sign_posn 1 +int_n_sign_posn 1 END LC_MONETARY LC_NUMERIC -decimal_point "<.>" -thousands_sep "<,>" -grouping 3;0 +decimal_point "" +thousands_sep "" +grouping 3 END LC_NUMERIC LC_TIME -abday "","";"";"";/ - "";"";"" -day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" -abmon "<1>";/ - "<2>";/ - "<3>";/ - "<4>";/ - "<5>";/ - "<6>";/ - "<7>";/ - "<8>";/ - "<9>";/ - "<1><0>";/ - "<1><1>";/ - "<1><2>" -mon "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" -d_t_fmt "<%><%><%><%><%><%><%>" -d_fmt "<%><-><%><-><%>" -t_fmt "<%>" -am_pm "";"" -t_fmt_ampm "" +abday "";"";"";"";"";"";"" + +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +abmon "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" + +mon "";"";"";/ + "";"";"";/ + "";"";"";/ + "";"";"" + +d_t_fmt "/ +/ +" + +d_fmt "" + +t_fmt "" + +am_pm "";"" + +t_fmt_ampm "" + END LC_TIME LC_MESSAGES -yesexpr "<<(><1><)/>><.><*>" -noexpr "<<(><0><)/>><.><*>" +% Any string starting with a Latin Y(y) or Chinese "Shi4" is recognized +% as affirmative answer. +% Any string starting with a Latin N(n) or Chinese "Bu4" or "Fou3" is +% recognized as negative answer. +yesexpr "" +noexpr "" END LC_MESSAGES + +LC_PAPER +% I assume A4, FIXME +height 297 +width 210 +END LC_PAPER + +LC_TELEPHONE +tel_int_fmt "" +tel_dom_fmt "" +int_select "" +int_prefix "" +END LC_TELEPHONE + +LC_NAME +name_fmt "" +name_gen "" +name_miss "" +name_mr "" +name_mrs "" +name_ms "" +END LC_NAME + +LC_ADDRESS +postal_fmt "/ +/ +/ +/ +" +country_name "" +%country_post "FIXME" +country_ab2 "" +country_ab3 "" +country_num 156 +%country_car "FIXME" +country_isbn "" +lang_name "" +lang_ab "" +lang_term "" +lang_lib "" +END LC_ADDRESS + +LC_MEASUREMENT +measurement 1 +END LC_MEASUREMENT -- 2.7.4

;;;;;;;;;;;/ - ....;/ - ....;/ - .... - -% -% lower class: -% Alphabets in portable character set, -% Roman letters in GB2312-1980, -% Greek letters in GB2312-1980, -% Russian letters in GB2312-1980. - -lower ;;;;;;;;;;;;;/ - ;;