summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-09-17 10:57:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-09-17 10:57:41 +0000
commit947a321baf2e00396de86015ada698ec842824ff (patch)
tree87a0b50b4a4ed7f6c46bc6f34a3446b5dbf2d85e /Src/Modules
parentd67ad445ec853f1c3ed84389ecbd5c52fd94cd2a (diff)
downloadzsh-947a321baf2e00396de86015ada698ec842824ff.tar.gz
zsh-947a321baf2e00396de86015ada698ec842824ff.tar.xz
zsh-947a321baf2e00396de86015ada698ec842824ff.zip
19096: crash unloading zsh/system
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/system.c2
1 files changed, 2 insertions, 0 deletions
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);