------- Additional Comments From pcarlini at suse dot de 2005-01-27 15:59 ------- Excellent. Can you please check whether on AIX this is ok ("de_DE" is just an example, any actually installed named locale should do):
#include <locale.h> #include <string.h> #include <assert.h> int main() { char* save = setlocale(LC_ALL, "de_DE"); assert( !save || !strcmp(setlocale(LC_NUMERIC, NULL), "de_DE")); return 0; } ??? In short, we should make sure that any change to LC_ALL is reflected to LC_NUMERIC. I have checked that this is the case with glibc and also FreeBSD but we should check all the supported OSes. Thanks again! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19642