mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Add regress test for redirection in DEBUG trap action (re: 2a835a2d
)
Turns out the previous commit also fixed the bug that disables the DEBUG trap if a redirection is used in a DEBUG trap action -- in other words, that's the same bug. src/cmd/ksh93/tests/basic.sh: - Add test from the reproducer in the bug report. Makes progress on: https://github.com/ksh93/ksh/issues/155
This commit is contained in:
parent
2a835a2d8a
commit
e664b78f98
2 changed files with 15 additions and 1 deletions
1
NEWS
1
NEWS
|
@ -7,6 +7,7 @@ Any uppercase BUG_* names are modernish shell bug IDs.
|
|||
|
||||
- Fixed: when the DEBUG trap was redefined in a subshell, the DEBUG trap in
|
||||
the parent environment was corrupted or the shell crashed.
|
||||
When a redirection was used in a DEBUG trap action, the trap was disabled.
|
||||
|
||||
2021-01-22:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue