From 04f41c6b6e3a9c688701cb130ff68f99306beb52 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 21 Dec 2019 11:35:37 +0000 Subject: unposted: Etc/BUGS: Add two bugs discussed on -workers@ this week --- Etc/BUGS | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Etc') diff --git a/Etc/BUGS b/Etc/BUGS index 492d5a74d..8244677f6 100644 --- a/Etc/BUGS +++ b/Etc/BUGS @@ -26,3 +26,19 @@ skipped when STTY=... is set for that command 41203 and others: Make it easier to maintain C modules out of tree. (May require defining a stable API for modules, see 41254) ------------------------------------------------------------------------ +44007 - Martijn - exit in trap executes rest of function (prints "fn2") +[[[ +trap 'echo $1; exit; echo $2' USR1 +fn() { + echo fn1 + kill -USR1 $$ + echo fn2 +} +echo out1 +fn trap1 trap2 +echo out2 +]]] +------------------------------------------------------------------------ +45075 - Daniel Shahaf - '{ exit } always { foo }' - docs/code mismatch +and return/exit differences +------------------------------------------------------------------------ -- cgit 1.4.1