From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11244 invoked from network); 17 Sep 2003 10:52:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Sep 2003 10:52:47 -0000 Received: (qmail 8564 invoked by alias); 17 Sep 2003 10:52:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19096 Received: (qmail 8554 invoked from network); 17 Sep 2003 10:52:42 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Sep 2003 10:52:42 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Sep 2003 10:52:42 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Wed, 17 Sep 2003 11:51:16 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 17 Sep 2003 11:54:38 +0100 To: zsh-workers@sunsite.dk Subject: Re: Unload modules failure on Sparc Solaris In-reply-to: "Vin Shelton"'s message of "Mon, 15 Sep 2003 20:01:57 EDT." Date: Wed, 17 Sep 2003 11:52:24 +0100 Message-ID: <13663.1063795944@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 17 Sep 2003 10:54:38.0457 (UTC) FILETIME=[16F16690:01C37D0A] 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 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. **********************************************************************