New API function iso_init_with_flag().
Moved setup of locale from various places to util.c:iso_init_locale(). It is now called by the iso_init*() functions only.
This commit is contained in:
@ -954,11 +954,13 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img)
|
||||
target->eltorito = (src->bootcat == NULL ? 0 : 1);
|
||||
target->catalog = src->bootcat;
|
||||
|
||||
#ifdef 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));
|
||||
|
||||
|
Reference in New Issue
Block a user