From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 438 invoked by alias); 18 May 2009 12:40:36 -0000 Received: (qmail 380 invoked by uid 48); 18 May 2009 12:40:14 -0000 Date: Mon, 18 May 2009 12:40:00 -0000 Message-ID: <20090518124014.379.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/40184] locale(const char* std_name) can create invalid facets for nonuniform locale In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg01520.txt.bz2 ------- Comment #1 from paolo dot carlini at oracle dot com 2009-05-18 12:40 ------- Ok. Then, what do you think, would it be at least an improvement, constructing on the fly a uniform locale corresponding to the LC_MONETARY category and switching to it instead, before calling mbsrtowcs? Performance-wise, should not be a big issue, because of caching. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo dot carlini at oracle | |dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-05-18 12:40:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40184