shithub: riscv

Download patch

ref: 5ea7337ae78541f70bc3d26931427b913de22cbc
parent: bcb3b3940e8186ba0ba7b71a1530ade5a7776299
author: mischief <mischief@offblast.org>
date: Tue Sep 11 20:35:45 EDT 2018

port: sync two longjmp fixes from drawterm

see drawterm commits f5e26ae93a6a and fa388286b4ca

--- a/sys/src/9/port/chan.c
+++ b/sys/src/9/port/chan.c
@@ -1277,8 +1277,9 @@
 namec(char *aname, int amode, int omode, ulong perm)
 {
 	int len, n, t, nomount;
-	Chan *c, *cnew;
-	Path *path;
+	Chan *c;
+	Chan *volatile cnew;
+	Path *volatile path;
 	Elemlist e;
 	Rune r;
 	Mhead *m;