From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23599 invoked from network); 24 Nov 1999 17:57:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Nov 1999 17:57:42 -0000 Received: (qmail 25101 invoked by alias); 24 Nov 1999 17:57:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8774 Received: (qmail 25093 invoked from network); 24 Nov 1999 17:57:33 -0000 From: "Bart Schaefer" Message-Id: <991124175722.ZM1672@candle.brasslantern.com> Date: Wed, 24 Nov 1999 17:57:22 +0000 In-Reply-To: <199911241600.RAA02291@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "PATCH: module non-loading" (Nov 24, 5:00pm) References: <199911241600.RAA02291@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: module non-loading MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 24, 5:00pm, Sven Wischnowsky wrote: } Subject: PATCH: module non-loading } } This patch tries to make modules behave the same independent of the } way they are made available: linked in or dynamically loaded. Three hunks of this failed for me, right in the middle of module.c. Same failure against a cvs sandbox from Tanaka's server. The problem appears to be that Sven's source contains "return" statements at various places that are not present in my copy; e.g. here: *************** *** 550,583 **** #endif /* !AIXDYNAMIC */ /**/ int load_module(char const *name) { Module m; - void *handle; LinkNode node, n; - - if (module_linked(name)) I don't have these two - return 1; lines in my copy at all. if (!(node = find_module(name))) { - if (!(handle = do_load_module(name))) - return NULL; -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com