A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1602 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1602 Category: Shell and Utilities Type: Omission Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: XCU 2.14 exit XCU 2.14 return Page Number: 2369, 2379 Line Number: 76750, 77069 Final Accepted Text: ====================================================================== Date Submitted: 2022-08-23 16:33 UTC Last Modified: 2022-08-23 18:27 UTC ====================================================================== Summary: No definition of "executed in a trap action" ======================================================================
---------------------------------------------------------------------- (0005942) kre (reporter) - 2022-08-23 18:27 https://austingroupbugs.net/view.php?id=1602#c5942 ---------------------------------------------------------------------- A way to word things might be: for exit, rather than "except when exit is executed in a trap action" say "except when exit is executed in the same execution environment as that in which a trap action was invoked, that trap action is still executing, and the exit would cause that execution environment to terminate" and for return, rather than "except when when return is executed in a trap action" say instead "except when return is executed in the same execution evnironment as that in which a trap action was invoked, while that trap action is still executing, and the return would cause a function that was executing when the trap was invoked to be terminated" I believe those produce sane results, and allow the "executed in a trap action" remain undefined, as those words will no longer appear (unless of course they're also somewhere else I'm not aware of, in which case that part of the standard, whatever it is, will need fixing as well). Issue History Date Modified Username Field Change ====================================================================== 2022-08-23 16:33 kre New Issue 2022-08-23 16:33 kre Name => Robert Elz 2022-08-23 16:33 kre Section => XCU 2.14 exit XCU 2.14 return 2022-08-23 16:33 kre Page Number => 2369, 2379 2022-08-23 16:33 kre Line Number => 76750, 77069 2022-08-23 18:11 kre Note Added: 0005941 2022-08-23 18:27 kre Note Added: 0005942 ======================================================================