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

Bug#37850: marked as done (locales: setlocale() returns NULL on i386)



Your message dated 21 May 1999 18:53:31 -0000
with message-id <[🔎] 19990521185331.2265.qmail@master.debian.org>
and subject line Bug#37850: fixed in glibc 2.1.1-7
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; 17 May 1999 12:45:14 +0000
Received: (qmail 9210 invoked from network); 17 May 1999 12:45:13 -0000
Received: from marvin.enst.fr (HELO ada.eu.org) (137.194.161.2)
  by master.debian.org with SMTP; 17 May 1999 12:45:13 -0000
Received: from melusine.cuivre.fr.eu.org (melusine.cuivre.rezel.enst.fr [137.194.8.128])
	by ada.eu.org (Postfix) with ESMTP id 66F8B10F4F
	for <submit@bugs.debian.org>; Mon, 17 May 1999 14:45:10 +0200 (CEST)
Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000)
	id 9E3A147CA1; Mon, 17 May 1999 14:45:06 +0200 (CEST)
From: Thomas Quinot <thomas@cuivre.fr.eu.org>
Subject: locales: setlocale() returns NULL on i386
To: submit@bugs.debian.org
X-Mailer: bug 3.1.7
Message-Id: <[🔎] 19990517124506.9E3A147CA1@melusine.cuivre.fr.eu.org>
Date: Mon, 17 May 1999 14:45:06 +0200 (CEST)

Package: locales
Version: 2.1.1-5.1

The last upload of locales seems to not work on i386; I have
  LANG=fr_FR
and
  LC_ALL=fr_FR
set in the envronment, and these settings seem not to be taken
into account anymore (2.1.1-5.1 is the first version where I
notice this problem).

ltrace shows that setlocale(LC_ALL, "") returns NULL.
strace indicates that the locale files are correctly open:

$ strace -e open =date
[...]
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/i18n/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_FR/LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/locale/fr_FR/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/i18n/fr_FR/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES", O_RDONLY) = 3
open("/usr/share/locale/fr/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/fr/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_FR/LC_MESSAGES/sh-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/sh-utils.mo", O_RDONLY) = 3
open("/etc/localtime", O_RDONLY)        = 3

This is right after an apt-get dist-upgrade this morning.
The problem does not show up on Sparc, with the same package
versions.

-- System Information
Debian Release: potato
Kernel Version: Linux melusine 2.2.7 #1 ven mai 7 16:53:59 CEST 1999 i686 unknown


Reply to: