This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Clean up and reformat to config/numeric and time
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 17 Jun 2004 14:11:30 -0500
- Subject: Re: [Patch] Clean up and reformat to config/numeric and time
- Organization: Red Hat / Chicago
- References: <40D1D1DC.5040104@suse.de>
> union { char *__s; wchar_t __w; } __u;
> __u.__s = __nl_langinfo_l(_NL_NUMERIC_DECIMAL_POINT_WC, __cloc);
> _M_data->_M_decimal_point = __u.__w;
This seems ok to me.
Jakub originally did this to deal with ia64 and 64 bit issues in
general. You should probably test this new iteration of this code on a
64 bit arch to be sure.
best,
benjamin