This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: iostream changes locale to format a number
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: stephenw at cryptocard dot com
- Cc: tskoba at mte dot biglobe dot ne dot jp, libstdc++ at gcc dot gnu dot org
- Date: Fri, 03 May 2002 15:37:13 +0200
- Subject: Re: iostream changes locale to format a number
- References: <3CD27E4D.8010905@unitus.it> <3CD282D4.4000107@unitus.it> <20020503131051306.AAA1432@ns2.goodmedia.com@there>
Stephen M.Webb wrote:
>I can't spot anywhere in the trunk code where this is done
>improperly. I'll set up a test case and see if (a) it's still
>happening and (b) isolate the cause.
>
The culprit for Takeshi testcase is __convert_from_v in
locale_facets.tcc but there are more instances of the problematic
pattern around. It seems to me quite obvious that we are not doing this
kind of thing in the appropriate way, as explained in glibc2.2.5 docs,
that is.
Ciao,
Paolo.