diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Src/Modules/system.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9cefd5a4f..fb8e17537 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-09-17 Peter Stephenson <pws@csr.com> + + * 19096: Src/Modules/system.c: Unloading zsh/system could crash + the shell because the set and unset elements for the errnos + array weren't installed. + 2003-09-15 Vin Shelton <acs@alumni.princeton.edu> * Doc/Zsh/contrib.yo: Fix capitalization to make makeinfo happy. diff --git a/Src/Modules/system.c b/Src/Modules/system.c index 174bf133d..91811ae79 100644 --- a/Src/Modules/system.c +++ b/Src/Modules/system.c @@ -391,6 +391,8 @@ boot_(Module m) PM_HIDE|PM_HIDEVAL|PM_REMOVABLE))) return 1; pm_nos->gets.afn = errnosgetfn; + pm_nos->sets.afn = arrsetfn; + pm_nos->unsetfn = stdunsetfn; if (!addbuiltins(m->nam, bintab, sizeof(bintab)/sizeof(*bintab))) { tidyparam(pm_nos); |