[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#19760: marked as done (libc6: XPG3 Locale support is broken)



Your message dated Fri, 15 Jan 1999 13:08:54 -0800
with message-id <v04103c8fb2c55eaeb2db@[206.163.71.146]>
and subject line Fixed a while ago.
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 16 Mar 1998 11:50:38 +0000
Received: (qmail 25875 invoked from network); 16 Mar 1998 11:50:38 -0000
Received: from rsunx.crn.cogs.susx.ac.uk (139.184.48.12)
  by debian.novare.net with SMTP; 16 Mar 1998 11:50:38 -0000
Received: from luisgh.crn.cogs.susx.ac.uk (masca.crn.cogs.susx.ac.uk) [139.184.129.25] (root)
	by rsunx.crn.cogs.susx.ac.uk with esmtp (Exim 1.82 #1)
	id 0yEYOD-0004hW-00; Mon, 16 Mar 1998 11:49:09 +0000
Received: by cogs.susx.ac.uk
	via sendmail with stdio
	id <m0yEYDV-0005ExC@masca.crn.cogs.susx.ac.uk> (Debian Smail3.2.0.100)
	for submit@bugs.debian.org; Mon, 16 Mar 1998 11:38:05 +0000 (GMT) 
Message-Id: <m0yEYDV-0005ExC@masca.crn.cogs.susx.ac.uk>
Date: Mon, 16 Mar 1998 11:38:05 +0000 (GMT)
From:  <luisgh@cogs.susx.ac.uk>
Subject: libc6: XPG3 Locale support is broken
To: submit@bugs.debian.org
Bcc:
X-Mailer: bug 3.1.0

Package: libc6
Version: 2.0.7pre1-4

Currently, AFAICT, locale catalogs are installed into 
/usr/share/locale/%L/LC_MESSAGES/%N where %L is the language 
as in $LANG or $LC_ALL and %N being the file. Alternatively, locale is also     
searched under /usr/share/locale/%L/%N, but this seems not to be used at allo   
for Debian. Note that this paths are hardwired in the libc (Makefile in the     
catgets directory of the source tree). Now there are certain problems with this.
For example, for german, all programs seem to use                               
/usr/share/locale/de/LC_MESSAGES/name but unfortunately, unless you define      
LC_ALL=de rather than say LC_ALL=de_DE, this path is not searched automatically.

I suggest that the search path should be set to                 
                                                                                
/usr/share/locale/%L/%N:\
	/usr/share/locale/%L/LC_MESSAGES/%N:/usr/share/locale/%l/LC_MESSAGES/%N

Here is a small patch to do this.
diff -U 3 --recursive glibc-2.0.7pre1-original/catgets/Makefile glibc-2.0.7pre1/catgets/Makefile
--- glibc-2.0.7pre1-original/catgets/Makefile	Mon Mar 16 11:35:01 1998
+++ glibc-2.0.7pre1/catgets/Makefile	Sat Apr 20 01:04:39 1996
@@ -37,5 +37,5 @@
 
 $(objpfx)gencat: $(gencat-modules:%=$(objpfx)%.o)
 
-CPPFLAGS := -DNLSPATH='"$(localedir)/%L/%N:$(localedir)/%l/LC_MESSAGES/%N:$(localedir)/%L/LC_MESSAGES/%N:"' \
+CPPFLAGS := -DNLSPATH='"$(localedir)/%L/%N:$(localedir)/%L/LC_MESSAGES/%N:"' \
 	    -DHAVE_CONFIG_H $(CPPFLAGS)


Thanks,
Luis.
-- System Information
Debian Release: 2.0 (unstable)
Kernel Version: Linux masca 2.0.33 #12 jue ene 8 15:00:00 GMT 1998 i686 unknown

Versions of the packages libc6 depends on:
ldso	Version: 1.9.6-2


Reply to: