shithub: riscv

Download patch

ref: 0b3ad2b562a91608a433e49baa4633dcb7aa32e9
parent: a5e964190697f7367e92628620baaee370c32f88
author: cinap_lenrek <[email protected]>
date: Thu Oct 17 08:53:01 EDT 2013

libc: updated acid files for 21 bit rune change

--- a/sys/src/libc/port/malloc.acid
+++ b/sys/src/libc/port/malloc.acid
@@ -31,12 +31,12 @@
 	print("}\n");
 };
 
-UTFmax = 3;
+UTFmax = 4;
 Runesync = 128;
 Runeself = 128;
 Runeerror = 65533;
-Runemax = 65535;
-Runemask = 65535;
+Runemax = 1114111;
+Runemask = 2097151;
 sizeofFmt = 48;
 aggr Fmt
 {
--- a/sys/src/libc/port/pool.acid
+++ b/sys/src/libc/port/pool.acid
@@ -31,12 +31,12 @@
 	print("}\n");
 };
 
-UTFmax = 3;
+UTFmax = 4;
 Runesync = 128;
 Runeself = 128;
 Runeerror = 65533;
-Runemax = 65535;
-Runemask = 65535;
+Runemax = 1114111;
+Runemask = 2097151;
 sizeofFmt = 48;
 aggr Fmt
 {
@@ -504,34 +504,20 @@
 complex Free checklist:t;
 complex Free checklist:q;
 complex Free checktree:t;
-complex Free ltreewalk:t;
-complex Free ltreewalk:f;
-complex Free treeinsert:tree;
-complex Free treeinsert:node;
-complex Free treeinsert:loc;
-complex Free treeinsert:repl;
-complex Free treedelete:tree;
-complex Free treedelete:node;
-complex Free treedelete:loc;
-complex Free treedelete:lsucc;
-complex Free treedelete:succ;
 complex Free treelookupgt:t;
 complex Free treelookupgt:lastgood;
-complex Free listadd:list;
-complex Free listadd:node;
-complex Free listdelete:list;
-complex Free listdelete:node;
+complex Free treesplay:t;
+complex Free treesplay:N;
+complex Free treesplay:l;
+complex Free treesplay:r;
+complex Free treesplay:y;
 complex Pool pooladd:p;
 complex Alloc pooladd:anode;
-complex Free pooladd:lst;
-complex Free pooladd:olst;
 complex Free pooladd:node;
-complex Free pooladd:parent;
+complex Free pooladd:root;
 complex Pool pooldel:p;
 complex Free pooldel:node;
-complex Free pooldel:lst;
-complex Free pooldel:olst;
-complex Free pooldel:parent;
+complex Free pooldel:root;
 complex Pool dsize2bsize:p;
 complex Pool bsize2asize:p;
 complex Pool blockmerge:pool;