git: 9front

Download patch

ref: eecac7bd6fb4ebaf7ce4352067c0564b1ed5209f
parent: 30714116e7f8375be89e4830b4d0905841faf3c9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Feb 5 03:25:01 EST 2014

mothra: dont panic on invalid regular expression in searchbox

--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -699,6 +699,8 @@
 	pldraw(root, screen);
 }
 
+void regerror(char*){}	/* don't panic */
+
 void search(void){
 	static char last[256];
 	char buf[256];
--