shithub: riscv

Download patch

ref: 0c1dd5754491b7d59b14a0dc6dbaa95ab3f18c8c
parent: 4d0a446123daebf8d9de77f5359e49229fe1eeb8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 30 14:11:51 EDT 2014

grep: fix tab2, use int instead of Rune to be compatible to 16bit rune system

--- a/sys/src/cmd/grep/comp.c
+++ b/sys/src/cmd/grep/comp.c
@@ -131,17 +131,17 @@
 	}
 }
 
-Rune	tab1[] =
+int	tab1[] =
 {
 	0x007f,
 	0x07ff,
 	0xffff,
 };
-Rune	tab2[] =
+int	tab2[] =
 {
 	0x003f,
 	0x0fff,
-	0xffff,
+	0x3ffff,
 };
 
 Re2