using xlocale to implement std::locale class

Sam Varshavchik mrsam@courier-mta.com
Wed May 4 12:10:00 GMT 2011


Paolo Carlini writes:

> On 05/04/2011 01:20 PM, Sam Varshavchik wrote:
>> The messages facet is broken everywhere, including GNU/Linux. do_open()  
>> calls textdomain(), which sets the global message catalog domain, and  
>> do_get() calls gettext(), which uses the global message catalog domain.
> Note that we have libstdc++/13631, about messages. It would be nice if you  
> could comment on that audit trail thus saving the additional details in a  
> convenient place.

Yes, of course. I am aware of it. Two years ago I put a proposed patch  
there, to fix this, but it required an ABI change.

> Constructively, I would also encourage you to submit fixes, preferably of a  
> sort not breaking the binary compatibility (otherwise, we can still look  
> into the patches now, but would be targeted at the ABI breaking branch  
> opened by Francois)

… but Francois's more recent patch in that bug seems to work without  
changing the ABI. I must've missed the notification from Bugzilla.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110504/049d3b69/attachment.sig>


More information about the Libstdc++ mailing list