From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25484 invoked by alias); 20 Sep 2010 08:45:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28281 Received: (qmail 19855 invoked from network); 20 Sep 2010 08:45:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 20 Sep 2010 09:45:22 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: avoid $status and $options in POSIX mode Message-ID: <20100920094522.4664e5a3@pwslap01u.europe.root.pri> In-Reply-To: <100919143945.ZM25629@torch.brasslantern.com> References: <4C93A654.90807@redhat.com> <100917202510.ZM32292@torch.brasslantern.com> <100918002530.ZM29893@torch.brasslantern.com> <100919143945.ZM25629@torch.brasslantern.com> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; i686-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Sep 2010 08:45:23.0086 (UTC) FILETIME=[29E1B2E0:01CB58A0] X-Scanned-By: MailControl A-10-90-03 (www.mailcontrol.com) on 10.68.0.158 On Sun, 19 Sep 2010 14:39:43 -0700 Bart Schaefer wrote: > } Oh, a fairly large omission at this point is that it doesn't disable > } autoloads from other modules, so this does not yet solve the problem > } of $options manifesting itself. > > The most obvious solution to this seems to be to walk the parameter > table looking for PM_AUTOLOAD and mask any parameter that has it. > Anyone have better suggestions? I don't see any real problem with this one. There's plenty of code that does this already. -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom