]> git.sur5r.net Git - openldap/commitdiff
ITS#4724 fix _uccase_map parameters
authorHoward Chu <hyc@openldap.org>
Mon, 30 Oct 2006 07:54:39 +0000 (07:54 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 30 Oct 2006 07:54:39 +0000 (07:54 +0000)
libraries/liblunicode/ucdata/ucgendat.c
libraries/liblunicode/ucdata/uctable.h

index 18d02b6573e8650071165eee5dca212c681720b3..af320b80a461bb1aa90a051688bf6dfc7ba623cb 100644 (file)
@@ -1409,10 +1409,10 @@ write_cdata(char *opath)
 
 #if HARDCODE_DATA
     fprintf(out, PREF "ac_uint4 _uccase_size = %ld;\n\n",
-        (long) (upper_used + lower_used + title_used));
+        (long) (upper_used + lower_used + title_used)*3);
 
     fprintf(out, PREF "ac_uint2 _uccase_len[2] = {%ld, %ld};\n\n",
-        (long) upper_used, (long) lower_used);
+        (long) upper_used*3, (long) lower_used*3);
     fprintf(out, PREF "ac_uint4 _uccase_map[] = {");
 
     if (upper_used > 0)
index 6aef2322f23d9614cfbc584c13ca8900ddfd8f6c..c1a31901db31b8f413f2e86a6f379c197bec0601 100644 (file)
@@ -1493,9 +1493,9 @@ static const ac_uint4 _ucprop_ranges[] = {
        0x0000fe70, 0x0000fe74, 0x0000fe76, 0x0000fefc
 };
 
-static const ac_uint4 _uccase_size = 1504;
+static const ac_uint4 _uccase_size = 4512;
 
-static const ac_uint2 _uccase_len[2] = {745, 755};
+static const ac_uint2 _uccase_len[2] = {2235, 2265};
 
 static const ac_uint4 _uccase_map[] = {
        0x00000041, 0x00000061, 0x00000041,