search for: xtable_cnt

Displaying 1 result from an estimated 1 matches for "xtable_cnt".

2007 Sep 13
1
chartr better
...} + SEXP attribute_hidden do_chartr(SEXP call, SEXP op, SEXP args, SEXP env) { SEXP old, _new, x, y; @@ -2064,14 +2074,18 @@ #ifdef SUPPORT_MBCS if(mbcslocale) { int j, nb, nc; - wchar_t xtable[65536 + 1], c_old, c_new, *wc; + xtable_t *xtable; + int xtable_cnt; + wchar_t c_old, c_new, *wc; const char *xi, *s; struct wtr_spec *trs_old, **trs_old_ptr; struct wtr_spec *trs_new, **trs_new_ptr; - - for(i = 0; i <= UCHAR_MAX; i++) xtable[i] = i; + struct wtr_spec *trs_cnt, **trs_cnt_ptr; /* Initializ...