From 5ea7337ae78541f70bc3d26931427b913de22cbc Mon Sep 17 00:00:00 2001 From: mischief Date: Wed, 12 Sep 2018 00:35:45 -0700 Subject: port: sync two longjmp fixes from drawterm see drawterm commits f5e26ae93a6a and fa388286b4ca --- sys/src/9/port/chan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/src/9/port/chan.c b/sys/src/9/port/chan.c index 77bc9951d..1d539912c 100644 --- a/sys/src/9/port/chan.c +++ b/sys/src/9/port/chan.c @@ -1277,8 +1277,9 @@ Chan* 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; -- cgit v1.2.3