|
From: | Andreas Schwab |
Subject: | bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2 |
Date: | Sat, 22 Sep 2012 17:08:02 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Holger Arnold <holgerar@gmail.com> writes: > As to whether calling setlocale(LC_ALL, "") in a library is a bug, what would > you expect a library that wants to provide localized messages to do? > Changing > the locale before and after each call? This would be racy in a > multi-threaded > program. There is a good reason why the C standard says "The implementation shall behave as if no library function calls the setlocale function." Extending that to other libraries improves the quality of implementation. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |