From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8338 invoked from network); 26 Feb 2007 17:36:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Feb 2007 17:36:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 76456 invoked from network); 26 Feb 2007 17:36:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Feb 2007 17:36:52 -0000 Received: (qmail 9790 invoked by alias); 26 Feb 2007 17:36:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23194 Received: (qmail 9780 invoked from network); 26 Feb 2007 17:36:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Feb 2007 17:36:47 -0000 Received: (qmail 76168 invoked from network); 26 Feb 2007 17:36:47 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 26 Feb 2007 17:36:37 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly26c.srv.mailcontrol.com (MailControl) with ESMTP id l1QHaWnn030867 for ; Mon, 26 Feb 2007 17:36:32 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Feb 2007 17:36:31 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.8/8.13.4) with ESMTP id l1QHaLeU008245 for ; Mon, 26 Feb 2007 17:36:21 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.8/8.13.8/Submit) with ESMTP id l1QHaL4H008242 for ; Mon, 26 Feb 2007 17:36:21 GMT Message-Id: <200702261736.l1QHaL4H008242@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: Quoting problem and crashes with ${(#)var} In-reply-to: <070226092843.ZM10079@torch.brasslantern.com> References: <200702132111.l1DLB5rA003849@pwslaptop.csr.com> <070213234815.ZM5424@torch.brasslantern.com> <200702141016.l1EAGpKF016735@news01.csr.com> <070214080347.ZM26428@torch.brasslantern.com> <20070214161951.e8219d6c.pws@csr.com> <070225151543.ZM32724@torch.brasslantern.com> <200702261034.l1QAY1fs004257@news01.csr.com> <070226081332.ZM9904@torch.brasslantern.com> <200702261624.l1QGOFWp007499@news01.csr.com> <070226092843.ZM10079@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Mon, 26 Feb 2007 09:28:43 -0800." Date: Mon, 26 Feb 2007 17:36:21 +0000 From: Peter Stephenson X-OriginalArrivalTime: 26 Feb 2007 17:36:31.0776 (UTC) FILETIME=[A7436200:01C759CC] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.67.0.136 Bart Schaefer wrote: > On Feb 26, 4:24pm, Peter Stephenson wrote: > } > } (Before that nicechar() was added there couldn't be any metafied > } characters at this point.) > > Is that going to cause problems in calling scopes? That is, do we need > to avoid nicechar() here and instead copy some portion of it (or the > equivalent) into wcs_nicechar() directly? It shouldn't cause problems: as wcs_nicechar() is already supposed to handle printable wide characters cleanly, the return values may already contain metafied characters. See the end of the function where a normal printable multibyte character is metafied. By "at this point", I meant specifically in the branch handling of non-printable wide characters or other parse failures. pws To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview