From d29ad85533d5c1f7b5b7cf420ab0cd910032fb50 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Mon, 18 Sep 2017 08:40:02 -0700 Subject: 41723: one more case of 41627 in "while" loops. --- Src/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/loop.c') diff --git a/Src/loop.c b/Src/loop.c index 40e3bcb34..1013aeb50 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -428,7 +428,7 @@ execwhile(Estate state, UNUSED(int do_exec)) } else for (;;) { state->pc = loop; - noerrexit = 1; + noerrexit = NOERREXIT_EXIT | NOERREXIT_RETURN; /* In case the test condition is a functional no-op, * make sure signal handlers recognize ^C to end the loop. */ -- cgit 1.4.1