* locale/programs/ld-collate.c (collate_read): After initial copy

statement, continue in state 0.
This commit is contained in:
Ulrich Drepper 2007-10-02 02:22:28 +00:00
parent d7c51a0c1a
commit c8caf08958
4 changed files with 235 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2007-10-01 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-collate.c (collate_read): After initial copy
statement, continue in state 0.
* include/stdio_ext.h (__fsetlocking): Define as macro.
2007-09-30 Ulrich Drepper <drepper@redhat.com>

View File

@ -1,5 +1,7 @@
2007-10-01 Ulrich Drepper <drepper@redhat.com>
* SUPPORTED (SUPPORTED-LOCALES): Add ber_MA.UTF-8.
* locales/am_ET (LC_COLLATE): Define new script after copy.
2007-09-30 Ulrich Drepper <drepper@redhat.com>

View File

@ -54,6 +54,7 @@ be_BY.UTF-8/UTF-8 \
be_BY/CP1251 \
be_BY@latin/UTF-8 \
ber_DZ/UTF-8 \
ber_MA/UTF-8 \
bg_BG.UTF-8/UTF-8 \
bg_BG/CP1251 \
bn_BD/UTF-8 \

229
localedata/locales/ber_MA Normal file
View File

@ -0,0 +1,229 @@
comment_char %
escape_char /
%
% Amazigh Language Locale for Morocco (tifinagh)
% Source:
% Contact: Pablo Saratxaga
% Email: <pablo@mandrakesoft.com>
% Language: ber
% Territory: MA
% Revision: 0.1
% Date: 2004-06-26
% Application: general
% Users: general
% Charset: UTF-8
% Distribution and use is free, also
% for commercial purposes.
LC_IDENTIFICATION
title "Amazigh language locale for Morocco (tifinagh)"
source ""
address ""
contact "Pablo Saratxaga"
email "pablo@mandrakesoft.com"
tel ""
fax ""
language "Amazigh"
territory "Morocco"
revision "0.1"
date "2002-06-26"
category ber_MA:2000;LC_IDENTIFICATION
category ber_MA:2000;LC_CTYPE
category ber_MA:2000;LC_COLLATE
category ber_MA:2000;LC_TIME
category ber_MA:2000;LC_NUMERIC
category ber_MA:2000;LC_PAPER
category ber_MA:2000;LC_TELEPHONE
category ber_MA:2000;LC_MEASUREMENT
category ber_MA:2000;LC_ADDRESS
category ber_MA:2000;LC_MONETARY
category ber_MA:2000;LC_MESSAGES
END LC_IDENTIFICATION
%
% TODO: fix LC_TIME, LC_MONETARY, LC_MESSAGES, LC_NAME, LC_ADDRESS
LC_COLLATE
copy "iso14651_t1"
collating-symbol <TIF-GW>
collating-symbol <TIF-KW>
collating-element <TIF-G-W> from "<U2D33><U2D6F>"
collating-element <TIF-K-W> from "<U2D3D><U2D6F>"
reorder-after <TIF-G>
<TIF-GW>
reorder-after <TIF-K>
<TIF-KW>
reorder-after <U2D33>
<TIF-G-W> <TIF-GW>;<PCT>;<MIN>;IGNORE
reorder-after <U2D37>
<U2D35> "<TIF-D><TIF-J>";"<LIG><PCL>";"<MIN><MIN>";IGNORE
<U2D36> "<TIF-D><TIF-J>";"<LIG><LIG>";"<MIN><MIN>";IGNORE
reorder-after <U2D3D>
<TIF-K-W> <TIF-KW>;<PCT>;<MIN>;IGNORE
reorder-after <U2D5C>
<U2D5E> "<TIF-T><TIF-C>";"<LIG><LIG>";"<MIN><MIN>";IGNORE
reorder-end
% Moroccan sorting standard requires tifinagh to come
% before latin script
reorder-sections-after <SPECIAL>
<TIFINAGH>
reorder-sections-end
END LC_COLLATE
LC_CTYPE
copy "i18n"
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE
LC_MESSAGES
% FIXME: yes/no
yesstr "<U0062><U0259><U006C><U0069>"
nostr "<U0079><U006F><U0078>"
yesexpr "<U005E><U005B><U0042><U0062><U005D><U002E><U002A>"
noexpr "<U005E><U005B><U0059><U0079><U004E><U006E><U005D><U002E><U002A>"
END LC_MESSAGES
LC_MONETARY
% This is the POSIX Locale definition the LC_MONETARY category.
% These are generated based on XML base Locale difintion file
% for IBM Class for Unicode/Java
%
int_curr_symbol "<U004D><U0041><U0044><U0020>"
currency_symbol "<U2D37><U002E><U2D4E><U002E>"
mon_decimal_point "<U002E>"
mon_thousands_sep "<U002C>"
mon_grouping 3
positive_sign ""
negative_sign "<U002D>"
int_frac_digits 3
frac_digits 3
p_cs_precedes 1
p_sep_by_space 1
n_cs_precedes 1
n_sep_by_space 1
p_sign_posn 1
n_sign_posn 2
%
END LC_MONETARY
LC_NUMERIC
% This is the POSIX Locale definition for the LC_NUMERIC category.
%
decimal_point "<U002E>"
thousands_sep "<U002C>"
grouping 3
%
END LC_NUMERIC
% FIXME
LC_TIME
day "<U0062><U0061><U007A><U0061><U0072><U0020><U0067><U00FC><U006E><U00FC>";/
"<U0062><U0069><U0072><U0069><U006E><U0063><U0069><U0020><U0067><U00FC><U006E>";/
"<U0069><U006B><U0069><U006E><U0063><U0069><U0020><U0067><U00FC><U006E>";/
"<U00FC><U00E7><U00FC><U006E><U0063><U00FC><U0020><U0067><U00FC><U006E>";/
"<U0064><U00F6><U0072><U0064><U00FC><U006E><U0063><U00FC><U0020><U0067><U00FC><U006E>";/
"<U0062><U0065><U015F><U0069><U006E><U0063><U0069><U0020><U0067><U00FC><U006E>";/
"<U0061><U006C><U0074><U0131><U006E><U0063><U0131><U0020><U0067><U00FC><U006E>"
abday "<U0062><U0061><U007A>";/
"<U0062><U0069><U0072>";/
"<U0069><U006B><U0069>";/
"<U00FC><U00E7><U00FC>";/
"<U0064><U00F6><U0072>";/
"<U0062><U0065><U015F>";/
"<U0061><U006C><U0074>"
mon "<U0079><U0061><U006E><U0076><U0061><U0072>";/
"<U0066><U0065><U0076><U0072><U0061><U006C>";/
"<U006D><U0061><U0072><U0074>";/
"<U0061><U0070><U0072><U0065><U006C>";/
"<U006D><U0061><U0079>";/
"<U0069><U0079><U0075><U006E>";/
"<U0069><U0079><U0075><U006C>";/
"<U0061><U0076><U0071><U0075><U0073><U0074>";/
"<U0073><U0065><U006E><U0074><U0079><U0061><U0062><U0072>";/
"<U006F><U006B><U0074><U0079><U0061><U0062><U0072>";/
"<U006E><U006F><U0079><U0061><U0062><U0072>";/
"<U0064><U0065><U006B><U0061><U0062><U0072>"
abmon "<U0059><U0061><U006E>";/
"<U0046><U0065><U0076>";/
"<U004D><U0061><U0072>";/
"<U0041><U0070><U0072>";/
"<U004D><U0061><U0079>";/
"<U0130><U0079><U006E>";/
"<U0130><U0079><U006C>";/
"<U0041><U0076><U0071>";/
"<U0053><U0065><U006E>";/
"<U004F><U006B><U0074>";/
"<U004E><U006F><U0079>";/
"<U0044><U0065><U006B>"
d_t_fmt "<U0025><U0041><U002C><U0020><U0025><U0064><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0054>"
d_fmt "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
t_fmt "<U0025><U0054>"
am_pm "";""
t_fmt_ampm ""
END LC_TIME
LC_PAPER
height 297
width 210
END LC_PAPER
LC_MEASUREMENT
measurement 1
END LC_MEASUREMENT
LC_NAME
% This is the ISO_IEC TR14652 Locale definition for the
% LC_NAME category.
%
name_fmt "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074>/
<U0025><U0067>"
name_gen "<U002D><U0073><U0061><U006E>"
name_mr "<U004D><U0072><U002E>"
name_mrs "<U004D><U0072><U0073><U002E>"
name_miss "<U004D><U0069><U0073><U0073><U002E>"
name_ms "<U004D><U0073><U002E>"
END LC_NAME
LC_ADDRESS
% This is the ISO_IEC TR14652 Locale definition for the
% LC_ADDRESS
postal_fmt "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
<U0025><U0062><U0025><U0065><U0025><U0072>"
%country_name ""
%country_post ""
country_ab2 "<U004D><U0041>"
country_ab3 "<U004D><U0041><U0052>"
country_num 504
%country_isbn ""
%country_car ""
lang_name "<U2D5C><U2D30><U2D4E><U2D30><U2D49><U2D56><U2D5C>"
% lang_ab
lang_term "<U0062><U0065><U0072>"
lang_lib "<U0062><U0065><U0072>"
END LC_ADDRESS
LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
int_prefix "<U0032><U0031><U0032>"
END LC_TELEPHONE