git: 9front

Download patch

ref: 83f1b353bec636b08df0795da9bc9047d528e5da
parent: 243d94510437d21b753a64e8c526c8db73a3a077
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
--