On 5/16/21 4:07 PM, Jonas Alfredsson wrote:
Hi Chet,
Thank you for the response.
If I read it correctly you agree that this is a regression from how
it worked previously?
Yes.
I am not a very experienced C programmer, so I am a little bit hesitant
to dive into the code to try to fix it myself.
No need; I already fixed it. I've attached a patch.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
*** ../bash-20210513/builtins/wait.def 2021-04-26 16:50:02.000000000 -0400
--- builtins/wait.def 2021-05-16 12:43:29.000000000 -0400
***************
*** 181,184 ****
--- 181,186 ----
status = 128 + wait_signal_received;
wait_sigint_cleanup ();
+ if (wflags & JWAIT_WAITING)
+ unset_waitlist ();
WAIT_RETURN (status);
}