Made centralized call of setlocale() unconditional.

Obsoleted macro Libisofs_setlocale_in_iniT.
This commit is contained in:
2009-05-26 18:13:15 +02:00
parent e12d409b80
commit e8fc149423
5 changed files with 0 additions and 31 deletions

View File

@ -1585,13 +1585,6 @@ char *ucs2str(const char *buf, size_t len)
/* convert to local charset */
#ifndef Libisofs_setlocale_in_iniT
/* ??? ts Nov 25 2008 :
Shouldn't this go to library initialization or even to app ?
*/
setlocale(LC_CTYPE, "");
#endif
#ifdef Libisofs_with_iso_iconV
conv_ret = iso_iconv_open(&conv, iso_get_local_charset(0), "UCS-2BE", 0);
if (conv_ret <= 0) {