This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] posix name, valgrind on the facets
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 11 Oct 2002 20:50:50 -0400
- Subject: Re: [v3] posix name, valgrind on the facets
>>>>> Benjamin Kosnik writes:
Ben> try changing that line to
Ben> std::setlocale(LC_ALL, ph.c_str());
Ben> and seeing if that works
Yes, removing the assignment to string lc_all_ph prevents the
crash.
Thanks, David