shithub: mc

Download patch

ref: 1b564b2e25048bc2bb7e4f0a6cd4dd24938eeb95
parent: 755433e998180ba049bc22975b8ecffa23bf0357
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Mar 12 14:57:07 EDT 2018

Reinit nexttid on every run.

--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -130,7 +130,6 @@
 	re.expired = Zthr
 	re.free = Zthr
 	re.nfree = 0
-	re.nexttid = 0
 	re.nthr = 0
 }
 
@@ -184,6 +183,7 @@
 
 	re.str = str
 	re.strp = 0
+	re.nexttid = 0
 
 	bestmatch = Zthr
 	states = std.mkbs()