A case mapping problem with UCData was pointed out today. I guess it is time
to add some regression tests!
The patch is included below my signature and is available by ftp as:
ftp://crl.nmsu.edu/CLR/multiling/unicode/ucdat12.p1
------------------------------------------------------------------------
Mark Leisher
Computing Research Lab "... I could lard the text with
New Mexico State University hotlinks and hotbuttons ..."
Box 30001, Dept. 3CRL -- Paraphrased from
Las Cruces, NM 88003 -- "Headcrash," Bruce Bethke
------------------------------------------------------------------------
*** ucdata.c.orig Thu Mar 5 07:43:26 1998
--- ucdata.c Thu Mar 5 07:43:50 1998
***************
*** 341,348 ****
* tables.
*/
_uccase_size = hdr.cnt * 3;
! _uccase_len[0] = hdr.size.len[0];
! _uccase_len[1] = hdr.size.len[1];
_uccase_map = (unsigned long *)
malloc(_uccase_size * sizeof(unsigned long));
--- 341,348 ----
* tables.
*/
_uccase_size = hdr.cnt * 3;
! _uccase_len[0] = hdr.size.len[0] * 3;
! _uccase_len[1] = hdr.size.len[1] * 3;
_uccase_map = (unsigned long *)
malloc(_uccase_size * sizeof(unsigned long));
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:39 EDT