From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12073 invoked from network); 8 Jan 2009 15:50:59 -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.6 required=5.0 tests=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 Jan 2009 15:50:59 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 17550 invoked from network); 8 Jan 2009 15:50:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Jan 2009 15:50:54 -0000 Received: (qmail 17950 invoked by alias); 8 Jan 2009 15:50:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26261 Received: (qmail 17940 invoked from network); 8 Jan 2009 15:50:47 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 8 Jan 2009 15:50:47 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by bifrost.dotsrc.org (Postfix) with ESMTP id 036AF802720C for ; Thu, 8 Jan 2009 16:50:43 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e21so3097739fga.37 for ; Thu, 08 Jan 2009 07:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=h8daufIvteJxoUGQXWh+h22+phyW9e1tL8IlDF6ycxk=; b=e5InYyeu0baI9vXANi55IMcQKL3juLcpbAk1ZVS+NYDRb3KGmS8FXYRxU7wWjV+XXF Z+5CBNNzugn6AJxocq0bKhHaH76LHUWmGQKsaGiqOuNeml9bEWVOypFAJKOzcrcxE3Oq PKUT+GC/kYCuqtai9ITiy/YHTrbt1rBKgYr4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wH5iJXGr1b8LGsw9NSBeudg8f+oLRukfeQ0eDslD4C2fu1AcjuZdFRX9xDox9Nn5m2 X0r3VTp/ER4yAuKNNm8UtrqrOC1zcmUL30xEYoj9AspPSvj3q/rN9mliTxLmNra1txZ6 gLI5HMz0Ek3IJonSm3RwdM3LWt4V2FtVFSoJM= Received: by 10.86.80.17 with SMTP id d17mr2588844fgb.55.1231429843598; Thu, 08 Jan 2009 07:50:43 -0800 (PST) Received: by 10.86.62.8 with HTTP; Thu, 8 Jan 2009 07:50:43 -0800 (PST) Message-ID: <2d460de70901080750l16b28bb4w883876b94b964eec@mail.gmail.com> Date: Thu, 8 Jan 2009 16:50:43 +0100 From: "Richard Hartmann" To: "Peter Stephenson" Subject: Re: zsh crash on assignment to $options Cc: zsh-workers@sunsite.dk In-Reply-To: <20090108130452.621013cb@news01> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200901081439.34695.arvidjaar@newmail.ru> <20090108130452.621013cb@news01> X-Virus-Scanned: ClamAV 0.92.1/8843/Thu Jan 8 07:01:58 2009 on bifrost X-Virus-Status: Clean On Thu, Jan 8, 2009 at 14:04, Peter Stephenson wrote: > The following should be a safe fix, but there may be similar problems it > doesn't pick up. I'm happy to receive reports from pedantic tests of code > that's never going to work (but shouldn't crash either). The stuff to do > with "foundparam" isn't particularly elegant (or documented). I would suggest adding test cases like the one which prompted the diff to the test suite. As unlikely as regressions in that area may be, it's a relatively cheap (read: easy) way to build a library of what I like to call nut-case tests. Richard