summaryrefslogtreecommitdiff
path: root/sys/src/9/port/chan.c
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2018-09-12 00:35:45 -0700
committermischief <mischief@offblast.org>2018-09-12 00:35:45 -0700
commit5ea7337ae78541f70bc3d26931427b913de22cbc (patch)
treedf561b432da02fe34bf0192d786f044c142fc0dd /sys/src/9/port/chan.c
parentbcb3b3940e8186ba0ba7b71a1530ade5a7776299 (diff)
port: sync two longjmp fixes from drawterm
see drawterm commits f5e26ae93a6a and fa388286b4ca
Diffstat (limited to 'sys/src/9/port/chan.c')
-rw-r--r--sys/src/9/port/chan.c5
1 files 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;