mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix crash on unsetting .sh.match
ksh crashed after unsetting .sh.match and then matching a pattern: $ unset .sh.match $ [[ bar == ba* ]] Memory fault src/cmd/ksh93/sh/init.c: sh_setmatch(): - Do nothing if we cannot get an array pointer to SH_MATCHNOD.
This commit is contained in:
parent
31fe1c2890
commit
a4375f3090
2 changed files with 5 additions and 0 deletions
2
NEWS
2
NEWS
|
@ -5,6 +5,8 @@ Any uppercase BUG_* names are modernish shell bug IDs.
|
|||
|
||||
2021-11-14:
|
||||
|
||||
- Fixed: ksh crashed after unsetting .sh.match and then matching a pattern.
|
||||
|
||||
- Another test/[ fix: "test \( string1 -a string2 \)" and "test \( string1 -o
|
||||
string2 \)" no longer give an incorrect "argument expected" error message.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue