Ticket #2294: iconv_dummy_implementation.diff
File iconv_dummy_implementation.diff, 1.7 KB (added by , 16 years ago) |
---|
-
Jamfile
21 21 # gconv_dl.c 22 22 gconv_simple.c 23 23 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 24 30 ; -
gconv_open.c
66 66 tok = __strtok_r (tok, ",", &ptr); 67 67 while (tok != NULL) 68 68 { 69 if ( __strcasecmp_l (tok, "TRANSLIT", &_nl_C_locobj) == 0)69 if (strcasecmp (tok, "TRANSLIT"/*, &_nl_C_locobj*/) == 0) 70 70 { 71 71 /* It's the builtin transliteration handling. We only 72 72 support it for working on the internal encoding. */ … … 99 99 lastp->next = newp; 100 100 } 101 101 } 102 else if ( __strcasecmp_l (tok, "IGNORE", &_nl_C_locobj) == 0)102 else if (strcasecmp (tok, "IGNORE"/*, &_nl_C_locobj*/) == 0) 103 103 /* Set the flag to ignore all errors. */ 104 104 conv_flags |= __GCONV_IGNORE_ERRORS; 105 105 else … … 112 112 113 113 for (runp = trans; runp != NULL; runp = runp->next) 114 114 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) 117 117 break; 118 118 else 119 119 lastp = runp; … … 227 227 modules for this step. */ 228 228 for (runp = trans; runp != NULL; runp = runp->next) 229 229 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) 232 232 { 233 233 void *data = NULL; 234 234