diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2005-03-10 17:55:37 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-03-10 17:55:37 +0000 |
| commit | 43d480057b2255d4fc82cc4eded038bcea0b5cb6 (patch) | |
| tree | b47bf1f7c0a780f921d8b01c3b0902ea3b37dc5a /Src/Modules/parameter.c | |
| parent | 20955: "unset foo" should return status 0 if foo was not set (diff) | |
| download | zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar.gz zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar.bz2 zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar.lz zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar.xz zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.tar.zst zsh-43d480057b2255d4fc82cc4eded038bcea0b5cb6.zip | |
20959: fix crash unloading zsh/parameter and test the fix
Diffstat (limited to 'Src/Modules/parameter.c')
| -rw-r--r-- | Src/Modules/parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 966b26e6f..faa18a92d 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -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 = |
