This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/686] New: [localedef] Implement toggle switches in LC_COLLATE section
- From: "barbier at linuxfr dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Jan 2005 15:09:54 -0000
- Subject: [Bug libc/686] New: [localedef] Implement toggle switches in LC_COLLATE section
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Toggle switches are defined in locale/programs/locfile-kw.h
but not implemented. Here is a patch to let localedef handle
'define', 'undef', 'ifdef', 'else' and 'endif' keywords.
This is very useful e.g. for locales which sort uppercase before
lowercase letters, or do not want backward direction in level 2.
Iso14651_t1 can be customized like
ifdef LATIN_FORWARD
order_start <LATIN>;forward;forward;forward;forward,position
else
order_start <LATIN>;forward;backward;forward;forward,position
endif
so that these locales can define specific keywords and then
'copy "iso14651_t1"' instead of copying its contents.
--
Summary: [localedef] Implement toggle switches in LC_COLLATE
section
Product: glibc
Version: 2.3.4
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: barbier at linuxfr dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=686
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.