From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13130 invoked from network); 24 May 2001 12:16:24 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 May 2001 12:16:24 -0000 Received: (qmail 27335 invoked by alias); 24 May 2001 12:16:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14469 Received: (qmail 27319 invoked from network); 24 May 2001 12:16:03 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: RE: About zmodload test segfaults Date: Thu, 24 May 2001 16:15:57 +0400 Message-ID: <000001c0e44b$4982c180$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <1010523165140.ZM9483@candle.brasslantern.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > > My guess is that the failures on Solaris et al., which seem to happen at > the module *un*loading test, have to do with shared library linkage. It > was wrong to simply discard all the dependencies and then unload. > > Here's a patch to V01zmodload to force unloading to happen in reverse > dependency order, i.e., a module is only unloaded when nothing depends > on it, and then its dependencies are removed so it won't prevent some > other module from being unloaded. If it's not possible to unload any > module that way, the zmodunload function calls zmodload -u to generate > the correct error message; this should happen only in case of circular > dependencies. > > Please check whether this takes care of the zmodload test segfaults on > various architectures. > With current CVS all tests (with obvious exception of unimplemented features) pass under current cygwin. Two tests that fail are searching for block device (C02cond) and process substitution (D03procsubst). -andrej