This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26.9000-854-g8da25ee
- From: mfabian at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Nov 2017 10:57:16 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-854-g8da25ee
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 8da25eec0aaf4d86a06088fff8d175989835e071 (commit)
from a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8da25eec0aaf4d86a06088fff8d175989835e071
commit 8da25eec0aaf4d86a06088fff8d175989835e071
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Tue Nov 28 16:23:02 2017 +0100
Collation fix: make forward accent sorting the default [BZ #17750]
[BZ #17750]
* Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
* localedata/fr_CA.UTF-8.in: New file with test data for backward
accents sorting.
* localedata/fr_FR.UTF-8.in: Fix test data for forward accents
sorting.
* localedata/locales/cs_CZ (LC_COLLATE): Remove â??define DIACRIT_FORWARDâ??
* localedata/locales/de_DE (LC_COLLATE): Likewise.
* localedata/locales/hu_HU (LC_COLLATE): Likewise.
* localedata/locales/lb_LU (LC_COLLATE): Likewise.
* localedata/locales/yuw_PG (LC_COLLATE): Likewise.
* localedata/locales/fr_CA (LC_COLLATE): Add â??define DIACRIT_BACKWARDâ??
* localedata/locales/iso14651_t1_common: Use â??ifdef DIACRIT_FORWARDâ??
instead of â??ifdef DIACRIT_BACKWARDâ??.
The only locale which currently needs backward accents sorting is fr_CA.
Therefore, forward accents sorting should be the default.
Before this patch, backwards accent sorting was the default and all
locales except fr_CA had to use
define DIACRIT_FORWARD
before
copy "iso14651_t1"
Most locales didnâ??t do that and thus got the inappropriate backwards accents sorting
by accident. Now only the fr_CA locale needs to use
define DIACRIT_BACKWARD
before
copy "iso14651_t1"
Original patch slightly modified by: Mike FABIAN <mfabian@redhat.com>
diff --git a/ChangeLog b/ChangeLog
index 29bcf62..a73e09f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
+
+ [BZ #17750]
+ * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
+ * localedata/fr_CA.UTF-8.in: New file with test data for backward
+ accents sorting.
+ * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
+ sorting.
+ * localedata/locales/cs_CZ (LC_COLLATE): Remove â??define DIACRIT_FORWARDâ??
+ * localedata/locales/de_DE (LC_COLLATE): Likewise.
+ * localedata/locales/hu_HU (LC_COLLATE): Likewise.
+ * localedata/locales/lb_LU (LC_COLLATE): Likewise.
+ * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
+ * localedata/locales/fr_CA (LC_COLLATE): Add â??define DIACRIT_BACKWARDâ??
+ * localedata/locales/iso14651_t1_common: Use â??ifdef DIACRIT_FORWARDâ??
+ instead of â??ifdef DIACRIT_BACKWARDâ??.
+
2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
diff --git a/localedata/Makefile b/localedata/Makefile
index b9f77d6..f8ca404 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -38,7 +38,7 @@ test-srcs := collate-test xfrm-test tst-fmon tst-rpmatch tst-trans \
test-input := de_DE.ISO-8859-1 en_US.ISO-8859-1 da_DK.ISO-8859-1 \
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 tr_TR.UTF-8 fr_FR.UTF-8 \
si_LK.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8 lv_LV.UTF-8 \
- pl_PL.UTF-8 cs_CZ.UTF-8
+ pl_PL.UTF-8 cs_CZ.UTF-8 fr_CA.UTF-8
test-input-data = $(addsuffix .in, $(test-input))
test-output := $(foreach s, .out .xout, \
$(addsuffix $s, $(basename $(test-input))))
@@ -108,7 +108,7 @@ LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
nb_NO.ISO-8859-1 nn_NO.ISO-8859-1 tr_TR.UTF-8 cs_CZ.UTF-8 \
zh_TW.EUC-TW fa_IR.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 si_LK.UTF-8 \
tr_TR.ISO-8859-9 en_GB.UTF-8 uk_UA.UTF-8 hu_HU.UTF-8 lv_LV.UTF-8 \
- pl_PL.UTF-8
+ pl_PL.UTF-8 fr_CA.UTF-8
include ../gen-locales.mk
endif
diff --git a/localedata/fr_FR.UTF-8.in b/localedata/fr_CA.UTF-8.in
similarity index 100%
copy from localedata/fr_FR.UTF-8.in
copy to localedata/fr_CA.UTF-8.in
index dd5c533..1c05d69 100644
--- a/localedata/fr_FR.UTF-8.in
+++ b/localedata/fr_CA.UTF-8.in
@@ -22,19 +22,19 @@ casanier
cølibat
colon
côlon
-coop
-co-op
COOP
CO-OP
+coop
+co-op
Copenhagen
-cote
COTE
-côte
+cote
CÃ?TE
-coté
+côte
COTÃ?
-côté
+coté
CÃ?TÃ?
+côté
du
dû
élève
@@ -63,8 +63,8 @@ Mc Arthur
Mc Mahon
MODÃ?LE
modelé
-Noël
NOÃ?L
+Noël
notre
nôtre
ode
@@ -74,8 +74,8 @@ OÃ?
ovoïde
pèche
pêche
-péché
PÃ?CHÃ?
+péché
pêché
pécher
pêcher
@@ -92,5 +92,5 @@ vice-president
vice-président
vice-president's offices
vice-presidents' offices
-vice versa
VICE-VERSA
+vice versa
diff --git a/localedata/fr_FR.UTF-8.in b/localedata/fr_FR.UTF-8.in
index dd5c533..070eb4d 100644
--- a/localedata/fr_FR.UTF-8.in
+++ b/localedata/fr_FR.UTF-8.in
@@ -29,16 +29,16 @@ CO-OP
Copenhagen
cote
COTE
-côte
-CÃ?TE
coté
COTÃ?
+côte
+CÃ?TE
côté
CÃ?TÃ?
du
dû
-élève
élevé
+élève
gène
gêne
gêné
@@ -49,20 +49,20 @@ haïe
île
�le d'Orléans
lame
-l'âme
lamé
+l'âme
les
LÃ?S
-lèse
lésé
+lèse
L'Haÿ-les-Roses
-MÃ?CON
maçon
+MÃ?CON
McArthur
Mc Arthur
Mc Mahon
-MODÃ?LE
modelé
+MODÃ?LE
Noël
NOÃ?L
notre
@@ -72,22 +72,22 @@ ode
ou
OÃ?
ovoïde
-pèche
-pêche
péché
PÃ?CHÃ?
+pèche
+pêche
pêché
pécher
pêcher
pechère
péchère
-relève
relevé
+relève
resume
resumé
résumé
-révèle
révélé
+révèle
vice-president
vice-président
vice-president's offices
diff --git a/localedata/locales/cs_CZ b/localedata/locales/cs_CZ
index 163a40d..f80d3e1 100644
--- a/localedata/locales/cs_CZ
+++ b/localedata/locales/cs_CZ
@@ -140,8 +140,6 @@ END LC_IDENTIFICATION
LC_COLLATE
-define DIACRIT_FORWARD
-
copy "iso14651_t1"
collating-symbol <c-caron>
diff --git a/localedata/locales/de_DE b/localedata/locales/de_DE
index dd1c1cf..eaa9f7f 100644
--- a/localedata/locales/de_DE
+++ b/localedata/locales/de_DE
@@ -84,8 +84,6 @@ END LC_CTYPE
LC_COLLATE
-define DIACRIT_FORWARD
-
% Copy the template from ISO/IEC 14651
copy "iso14651_t1"
diff --git a/localedata/locales/fr_CA b/localedata/locales/fr_CA
index 15401de..e37d042 100644
--- a/localedata/locales/fr_CA
+++ b/localedata/locales/fr_CA
@@ -54,6 +54,8 @@ copy "fr_FR"
END LC_CTYPE
LC_COLLATE
+define DIACRIT_BACKWARD
+
copy "en_CA"
END LC_COLLATE
diff --git a/localedata/locales/hu_HU b/localedata/locales/hu_HU
index b860672..01e45b9 100644
--- a/localedata/locales/hu_HU
+++ b/localedata/locales/hu_HU
@@ -63,7 +63,6 @@ category "i18n:2012";LC_MEASUREMENT
END LC_IDENTIFICATION
LC_COLLATE
-define DIACRIT_FORWARD
copy "iso14651_t1"
%% a b c cs d dz dzs e f g gy h i j k l ly m n ny o o: p q
diff --git a/localedata/locales/iso14651_t1_common b/localedata/locales/iso14651_t1_common
index 0e64f26..eb0fe9e 100644
--- a/localedata/locales/iso14651_t1_common
+++ b/localedata/locales/iso14651_t1_common
@@ -5079,10 +5079,10 @@ order_start <SPECIAL>;forward;backward;forward;forward,position
<U009E> IGNORE;IGNORE;IGNORE;<U009E>
<U009F> IGNORE;IGNORE;IGNORE;<U009F>
-ifdef DIACRIT_FORWARD
-order_start <LATIN>;forward;forward;forward;forward,position
-else
+ifdef DIACRIT_BACKWARD
order_start <LATIN>;forward;backward;forward;forward,position
+else
+order_start <LATIN>;forward;forward;forward;forward,position
endif
#
<U00A0> <U0020>;<BAS>;<MIN>;IGNORE # 170<NBSP>
diff --git a/localedata/locales/lb_LU b/localedata/locales/lb_LU
index f8da944..92f1e22 100644
--- a/localedata/locales/lb_LU
+++ b/localedata/locales/lb_LU
@@ -83,8 +83,6 @@ END LC_CTYPE
LC_COLLATE
-define DIACRIT_FORWARD
-
% Copy the template from ISO/IEC 14651
copy "iso14651_t1"
diff --git a/localedata/locales/yuw_PG b/localedata/locales/yuw_PG
index f9341fa..0cb3cad 100644
--- a/localedata/locales/yuw_PG
+++ b/localedata/locales/yuw_PG
@@ -45,7 +45,6 @@ translit_end
END LC_CTYPE
LC_COLLATE
-define DIACRIT_FORWARD
copy "iso14651_t1"
END LC_COLLATE
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 17 +++++++++++++++++
localedata/Makefile | 4 ++--
localedata/{fr_FR.UTF-8.in => fr_CA.UTF-8.in} | 18 +++++++++---------
localedata/fr_FR.UTF-8.in | 22 +++++++++++-----------
localedata/locales/cs_CZ | 2 --
localedata/locales/de_DE | 2 --
localedata/locales/fr_CA | 2 ++
localedata/locales/hu_HU | 1 -
localedata/locales/iso14651_t1_common | 6 +++---
localedata/locales/lb_LU | 2 --
localedata/locales/yuw_PG | 1 -
11 files changed, 44 insertions(+), 33 deletions(-)
copy localedata/{fr_FR.UTF-8.in => fr_CA.UTF-8.in} (100%)
hooks/post-receive
--
GNU C Library master sources