Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unload modules failure on Sparc Solaris
- X-seq: zsh-workers 19096
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Unload modules failure on Sparc Solaris
- Date: Wed, 17 Sep 2003 11:52:24 +0100
- In-reply-to: "Vin Shelton"'s message of "Mon, 15 Sep 2003 20:01:57 EDT." <m3y8wplhxm.fsf@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Vin Shelton wrote:
> On the Solaris 5.8 Sparc box here at work, I'm getting a coredump in
> the V01 modload test:
Thanks for spotting this: the problem was unloading zsh/system, because
the parameter entries for the errnos array weren't set properly.
Index: Src/Modules/system.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/system.c,v
retrieving revision 1.1
diff -u -r1.1 system.c
--- Src/Modules/system.c 30 Aug 2003 19:06:11 -0000 1.1
+++ Src/Modules/system.c 17 Sep 2003 10:51:02 -0000
@@ -391,6 +391,8 @@
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);
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author