shithub: riscv

Download patch

ref: 0b1c655160eab79a8066174c113f2025a83dc14c
parent: c6b4b7c0f0d3e0dda5e8bae69ec41a3098043902
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];