bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting locales


From: Roman Rakus
Subject: setting locales
Date: Mon, 07 Jul 2008 13:38:02 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

In file locale.c, function get_locale_var, locale = default_locale; /* system-dependent; not really portable. should it be "C"? */ default_locale contains string returned by calling setlocale(LC_ALL,NULL); and we then use this string to assign locale for LC_'every_other' and this is not right way. Why we simple don't call setlocale(LC_ALL,default_locale)? The final code will be shorter and more readable...

Attachment: rrakus.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]