[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12392: emacs-gtk misinterprets floating-point numbers under certain
From: |
Holger Arnold |
Subject: |
bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2 |
Date: |
Sat, 22 Sep 2012 17:49:33 +0200 |
User-agent: |
KMail/4.9.1 (Linux/3.5.4-1-default; KDE/4.9.1; i686; ; ) |
Andreas Schwab wrote:
> 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.
Well, I didn't consider calling setlocale() in GStreamer a great idea, but you
and Achim are right: doing so is a bug because it's racy.
Nevertheless, setting LC_NUMERIC to "C" behind GTK's back isn't correct
either.
But in which places is Emacs using localized strings at all?
Holger
- bug#12392: 24.2; emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, (continued)
- bug#12392: 24.2; emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Achim Gratz, 2012/09/09
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Paul Eggert, 2012/09/13
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Achim Gratz, 2012/09/13
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Achim Gratz, 2012/09/14
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Holger Arnold, 2012/09/21
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Achim Gratz, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Holger Arnold, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Andreas Schwab, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2,
Holger Arnold <=
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Eli Zaretskii, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Holger Arnold, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Jan Djärv, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Jan Djärv, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Jan Djärv, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Jan Djärv, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Holger Arnold, 2012/09/22
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Jan Djärv, 2012/09/23
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Achim Gratz, 2012/09/23
- bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2, Holger Arnold, 2012/09/23