Bug#193904: [reopen #174253] locales.alias even lines are not considered
Package: locales
Version: 2.3.1-17
Severity: important
Hello Debian glibc maintainers,
This bug is basically a reopen of #174253 which has been closed
a bit hastily and is archived now.
--- How to reproduce the problem:
Set up fr_FR ISO-8859-1 in locales.gen
Use the Debian provided locale.alias
$ LANG=fr_FR ls fnord
ls: fnord: Aucun fichier ou répertoire de ce type
$ LANG=français ls fnord
ls: fnord: Aucun fichier ou répertoire de ce type
$ LANG=french ls fnord
ls: fnord: No such file or directory
extract from pristine /etc/locale.alias:
français fr_FR.ISO-8859-1
french fr_FR.ISO-8859-1
After more investigation with gdb it seems that only odd lines in
/etc/locale.alias. Even lines have no effect whatsoever.
What has probably happened in #174253 is that a new glibc has expanded
/etc/locale.alias a bit so that japanese has moved from an even to an
odd position, fixing the bug as far as japanese is concerned.
If you cannot fix the code, a work around is to double each line
in /etc/locale.alias. This is ugly but it is better than to keep
the bug in sarge.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux seventeen 2.4.20 #1 Mon Apr 14 16:02:08 CEST 2003 i686
Locale: LANG=french, LC_CTYPE=french
Versions of packages locales depends on:
ii debconf 1.2.35 Debian configuration management sy
ii libc6 [glibc-2.3.1-17] 2.3.1-17 GNU C Library: Shared libraries an
-- debconf information:
* locales/default_environment_locale: Leave alone
* locales/locales_to_be_generated: el_GR ISO-8859-7, el_GR.UTF-8 UTF-8, en_US ISO-8859-1, en_US.UTF-8 UTF-8, es_ES ISO-8859-1, fr_FR@euro ISO-8859-15, fr_FR ISO-8859-1, fr_FR.UTF-8@euro UTF-8, fr_FR.UTF-8 UTF-8, zh_CN.UTF-8 UTF-8
Reply to: