search for: trs_old

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

2007 Sep 13
1
chartr better
..., 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; /* Initialize the old and new wtr_spec lists. */ + trs_cnt = Calloc(1, struct wtr_spec); + trs_cnt...