SOURCES: glibc-large_collate_tables.patch (NEW) - fixed handling o...

ankry ankry at pld-linux.org
Tue Nov 8 18:52:26 CET 2005


Author: ankry                        Date: Tue Nov  8 17:52:26 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed handling of large LC_COLLATE sections of locales; eg in dz_BT

---- Files affected:
SOURCES:
   glibc-large_collate_tables.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glibc-large_collate_tables.patch
diff -u /dev/null SOURCES/glibc-large_collate_tables.patch:1.1
--- /dev/null	Tue Nov  8 18:52:26 2005
+++ SOURCES/glibc-large_collate_tables.patch	Tue Nov  8 18:52:21 2005
@@ -0,0 +1,11 @@
+--- glibc-2.3.6/locale/programs/ld-collate.c~	2005-11-08 17:12:52.000000000 +0000
++++ glibc-2.3.6/locale/programs/ld-collate.c	2005-11-08 17:12:52.000000000 +0000
+@@ -2476,7 +2476,7 @@
+       runp = runp->next;
+     }
+   /* Add 40% and find the next prime number.  */
+-  elem_size = MIN (next_prime (elem_size * 1.4), 257);
++  elem_size = MIN (next_prime (elem_size * 1.4), 4097);
+ 
+   /* Allocate the table.  Each entry consists of two words: the hash
+      value and an index in a secondary table which provides the index
================================================================



More information about the pld-cvs-commit mailing list