code: drawterm

Download patch

ref: d06ed886c61c93037129a6693ab3db07c070f291
parent: 7e48e47ab0b00dfe5674b3555a52cace2eb12b98
author: mischief <mischief@offblast.org>
date: Tue Sep 11 20:29:20 EDT 2018

kern: fix *another* longjmp bug

mark path volatile, otherwise pathclose will read a trashed register instead of
the stack variable in waserror block

--- a/kern/chan.c
+++ b/kern/chan.c
@@ -1164,7 +1164,7 @@
 	int len, n, t, nomount;
 	Chan *c;
 	Chan *volatile cnew;
-	Path *path;
+	Path *volatile path;
 	Elemlist e;
 	Rune r;
 	Mhead *m;