From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14212 invoked from network); 8 May 2009 18:43:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 May 2009 18:43:24 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 49183 invoked from network); 8 May 2009 18:43:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 May 2009 18:43:17 -0000 Received: (qmail 8867 invoked by alias); 8 May 2009 18:43:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26955 Received: (qmail 8856 invoked from network); 8 May 2009 18:43:10 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 8 May 2009 18:43:10 -0000 Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by bifrost.dotsrc.org (Postfix) with ESMTPS id C130782D4B6B for ; Fri, 8 May 2009 20:43:04 +0200 (CEST) Received: from sdf.lonestar.org (IDENT:pda@svalbard.freeshell.org [192.94.73.10]) by sdf.lonestar.org (8.14.3/8.13.8) with ESMTP id n48IgvNR010661 for ; Fri, 8 May 2009 18:42:57 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.14.3/8.12.8/Submit) id n48Igu9f029462 for zsh-workers@sunsite.dk; Fri, 8 May 2009 18:42:56 GMT From: Paul Ackersviller Date: Fri, 8 May 2009 18:42:56 +0000 To: zsh-workers@sunsite.dk Subject: Re: Modules on HP-UX Message-ID: <20090508184256.GB13920@svalbard> Mail-Followup-To: zsh-workers@sunsite.dk References: <20090501145253.GA5070@svalbard> <200905011518.n41FIlHi005089@news01.csr.com> <20090505193931.GA2944@svalbard> <20090506202206.63bc26b0@pws-pc> <20090506215026.GA5565@otaku> <20090507163819.1932f06e@news01> <20090507170219.46d636e0@news01> <20090507220819.GA13920@svalbard> <090507163027.ZM15925@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <090507163027.ZM15925@torch.brasslantern.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV 0.92.1/9347/Fri May 8 07:10:18 2009 on bifrost X-Virus-Status: Clean On Thu, May 07, 2009 at 04:30:27PM -0700, Bart Schaefer wrote: > On May 7, 10:08pm, Paul Ackersviller wrote: > } Subject: Re: D07multibyte.ztst failure on HP-UX 11.11 > } > } BTW, there's one other thing with HP-UX tests I've been ignoring until > } now, but would like to look at shortly. They end with: > } rm: cannot remove `Modules/zsh/parameter.so': Text file busy > } rm: cannot remove `Modules/zsh/zutil.so': Text file busy > } rm: cannot remove `Modules/zsh/complete.so': Text file busy > } rm: cannot remove `Modules/zsh/complist.so': Text file busy > } rm: cannot remove `Modules/zsh/computil.so': Text file busy > } rm: cannot remove `Modules/zsh/zle.so': Text file busy > > The test script creates a shadow directory with copies of all the > shared objects so that it has a stable module_path for zmodload. > HP-UX does paging for shared objects directly out of their files, > so those files can't be removed while loaded by an application. > > It might work to "zmodload -u" the modules before "rm"ing the files. I tried this on two of the lesser-used modules, namely complist and zutil, but it made no difference. It's possible I put the "zmodload -u" too early, but I can't see a better place than the end of the tests that do the loading. I see no problems running zmodload interactively. P.S. A tiny documentation nit -- zmodload says modules are usually call .sl on HPUX, which is true, however the HP build names them .so's anyway.