mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 04:50:27 +02:00
20959: fix crash unloading zsh/parameter and test the fix
This commit is contained in:
parent
7208c4024e
commit
43d480057b
4 changed files with 15 additions and 4 deletions
|
|
@ -1817,7 +1817,7 @@ struct pardef {
|
|||
* in a compile-time initialiser, so we use this instead.
|
||||
*/
|
||||
static const struct gsu_hash pmnullsethash_gsu =
|
||||
{ hashgetfn, nullsethashfn, NULL };
|
||||
{ hashgetfn, nullsethashfn, nullunsetfn };
|
||||
static const struct gsu_hash pmcommands_gsu =
|
||||
{ hashgetfn, setpmcommands, stdunsetfn };
|
||||
static const struct gsu_hash pmfunctions_gsu =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue