Corrected test of Libisofs_setlocale_in_iniT.

release-1.5.4.branch
Thomas Schmitt 14 years ago
parent dd1cde0379
commit 8a0be8ca19
  1. 2
      libisofs/ecma119.c
  2. 2
      libisofs/fs_image.c
  3. 2
      libisofs/util.c

@ -927,7 +927,7 @@ 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
#ifndef Libisofs_setlocale_in_iniT
/* default to locale charset */
/* ??? ts Nov 25 2008 :
Shouldn't this go to library initialization or even to app ?

@ -2216,7 +2216,7 @@ int iso_image_filesystem_new(IsoDataSource *src, struct iso_read_opts *opts,
data->aaip_load = !opts->noaaip;
data->aaip_version = -1;
#ifdef Libisofs_setlocale_in_iniT
#ifndef Libisofs_setlocale_in_iniT
/* ??? ts Nov 25 2008 :
Shouldn't this go to library initialization or even to app ?
*/

@ -1585,7 +1585,7 @@ char *ucs2str(const char *buf, size_t len)
/* convert to local charset */
#ifdef Libisofs_setlocale_in_iniT
#ifndef Libisofs_setlocale_in_iniT
/* ??? ts Nov 25 2008 :
Shouldn't this go to library initialization or even to app ?
*/

Loading…
Cancel
Save