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

@ -929,16 +929,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img)
target->eltorito = (src->bootcat == NULL ? 0 : 1);
target->catalog = src->bootcat;
#ifndef Libisofs_setlocale_in_iniT
/* default to locale charset */
/* ??? ts Nov 25 2008 :
Shouldn't this go to library initialization or even to app ?
*/
setlocale(LC_CTYPE, "");
#endif
target->input_charset = strdup(iso_get_local_charset(0));
if (target->input_charset == NULL) {
iso_image_unref(src);
free(target);