Ticket #2294: iconv_dummy_implementation.diff

File iconv_dummy_implementation.diff, 1.7 KB (added by oco, 22 months ago)
  • Jamfile

     
    2121#   gconv_dl.c 
    2222    gconv_simple.c 
    2323    gconv_trans.c 
     24    gconv_open.c 
     25    gconv.c 
     26    gconv_close.c    
     27    iconv_open.c 
     28    iconv.c 
     29    iconv_close.c    
    2430; 
  • gconv_open.c

     
    6666      tok = __strtok_r (tok, ",", &ptr); 
    6767      while (tok != NULL) 
    6868        { 
    69           if (__strcasecmp_l (tok, "TRANSLIT", &_nl_C_locobj) == 0) 
     69          if (strcasecmp (tok, "TRANSLIT"/*, &_nl_C_locobj*/) == 0) 
    7070        { 
    7171          /* It's the builtin transliteration handling.  We only 
    7272             support it for working on the internal encoding.  */ 
     
    9999            lastp->next = newp; 
    100100            } 
    101101        } 
    102           else if (__strcasecmp_l (tok, "IGNORE", &_nl_C_locobj) == 0) 
     102          else if (strcasecmp (tok, "IGNORE"/*, &_nl_C_locobj*/) == 0) 
    103103        /* Set the flag to ignore all errors.  */ 
    104104        conv_flags |= __GCONV_IGNORE_ERRORS; 
    105105          else 
     
    112112 
    113113          for (runp = trans; runp != NULL; runp = runp->next) 
    114114            if (runp->name != NULL 
    115             && __strcasecmp_l (tok, runp->name, 
    116                        &_nl_C_locobj) == 0) 
     115            && strcasecmp (tok, runp->name/*, 
     116                       &_nl_C_locobj*/) == 0) 
    117117              break; 
    118118            else 
    119119              lastp = runp; 
     
    227227         modules for this step.  */ 
    228228          for (runp = trans; runp != NULL; runp = runp->next) 
    229229        for (n = 0; n < runp->ncsnames; ++n) 
    230           if (__strcasecmp_l (steps[cnt].__from_name, 
    231                       runp->csnames[n], &_nl_C_locobj) == 0) 
     230          if (strcasecmp (steps[cnt].__from_name, 
     231                      runp->csnames[n]/*, &_nl_C_locobj*/) == 0) 
    232232            { 
    233233              void *data = NULL; 
    234234