port: sync two longjmp fixes from drawterm

see drawterm commits f5e26ae93a6a and fa388286b4ca
This commit is contained in:
mischief 2018-09-12 00:35:45 -07:00
parent bcb3b3940e
commit 5ea7337ae7

View file

@ -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;