public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/7811: default locale not taken from environment
@ 2002-09-05 14:19 paolo
  0 siblings, 0 replies; 3+ messages in thread
From: paolo @ 2002-09-05 14:19 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, loewis, paolo

Synopsis: default locale not taken from environment

State-Changed-From-To: analyzed->closed
State-Changed-By: paolo
State-Changed-When: Thu Sep  5 14:19:48 2002
State-Changed-Why:
    Fixed for 3.2.1 and 3.3.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7811


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libstdc++/7811: default locale not taken from environment
@ 2002-09-04  5:35 paolo
  0 siblings, 0 replies; 3+ messages in thread
From: paolo @ 2002-09-04  5:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, loewis, nobody, paolo

Synopsis: default locale not taken from environment

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Wed Sep  4 05:35:24 2002
Responsible-Changed-Why:
    Working on it.
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Wed Sep  4 05:35:24 2002
State-Changed-Why:
    Confirmed. The regression appeared in the short time span
    between 3.1.1 and 3.2.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7811


^ permalink raw reply	[flat|nested] 3+ messages in thread

* libstdc++/7811: default locale not taken from environment
@ 2002-09-02  9:26 Martin von Loewis
  0 siblings, 0 replies; 3+ messages in thread
From: Martin von Loewis @ 2002-09-02  9:26 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


>Number:         7811
>Category:       libstdc++
>Synopsis:       default locale not taken from environment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 02 09:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.2.1 20020830 (Debian prerelease) (Debian testing/unstable)
>Organization:
HUB
>Environment:
System: Linux kosh 2.4.19-k7 #1 Thu Aug 8 23:19:38 EST 2002 i686 unknown unknown GNU/Linux
Architecture: i686

	
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: /mnt/data/gcc-3.1/gcc-3.2-3.2.1ds0/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-java-gc=boehm --enable-objc-gc i386-linux
>Description:
	When instantiating a locale with the "" name, the locale object will be
	the "C" locale, not the one specified in the environment variables.
>How-To-Repeat:
	Set LANG to, say, "de_DE.UTF-8". Then run the program

#include <locale>
#include <iostream>

int main(){
  using namespace std;
  locale loc("");
  cout << loc.name() << endl;
}

	This prints "C", but should print "de_DE.UTF-8" (or the like).
	On the same system, g++ 3.1 does work properly.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-05 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-05 14:19 libstdc++/7811: default locale not taken from environment paolo
  -- strict thread matches above, loose matches on Subject: below --
2002-09-04  5:35 paolo
2002-09-02  9:26 Martin von Loewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).