From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12447 invoked from network); 6 May 2009 19:22:31 -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=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; 6 May 2009 19:22:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 92392 invoked from network); 6 May 2009 19:22:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 May 2009 19:22:24 -0000 Received: (qmail 6662 invoked by alias); 6 May 2009 19:22:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26940 Received: (qmail 6603 invoked from network); 6 May 2009 19:22:15 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 May 2009 19:22:15 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id 1CC4D80590A3 for ; Wed, 6 May 2009 21:21:57 +0200 (CEST) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090506192210.FSTM25388.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Wed, 6 May 2009 20:22:10 +0100 Received: from pws-pc ([81.107.42.185]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090506192209.RWZR13254.aamtaout01-winn.ispmail.ntl.com@pws-pc> for ; Wed, 6 May 2009 20:22:09 +0100 Date: Wed, 6 May 2009 20:22:06 +0100 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: D07multibyte.ztst failure on HP-UX 11.11 Message-ID: <20090506202206.63bc26b0@pws-pc> In-Reply-To: <20090505193931.GA2944@svalbard> References: <20090501145253.GA5070@svalbard> <200905011518.n41FIlHi005089@news01.csr.com> <20090505193931.GA2944@svalbard> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.0 c=1 a=Zq2OMAw7f5IA:10 a=31JXK0-F5KQA:10 a=V4LaVcK_AAAA:8 a=NLZqzBF-AAAA:8 a=aIbxRS0-sIFV43UqImMA:9 a=KWj71-2nhlmqcrU04aoA:7 a=_9iL9GtxojixmtyyhXEVlmm8Ml0A:4 a=_dQi-Dcv4p4A:10 X-Virus-Scanned: ClamAV 0.92.1/9333/Wed May 6 05:55:26 2009 on bifrost X-Virus-Status: Clean On Tue, 5 May 2009 19:39:31 +0000 Paul Ackersviller wrote: > I can get read to silently fail on the HP box with > > env -i LANG=en_US.utf8 ../Src/zsh -fc \ > "(LC_ALL=C; print \$'\\u00e9') | read || print failure" > > Taking out any of the read, the LC_ALL=C, or the sub-shelling gives a > zero return to the left of the "print failure". So presumably the underlying problem is the same as the failure in the test that needs investigating. Taking out the LC_ALL should produce some sensible output if you omit the read. (Replacing it with xxd or failing that od -x might make it clearer what's going on.) If you're simply taking out the subshell and not replacing it with anything then the LC_ALL=C covers the "read" as well as the "print". So possibly something strange is happening in the read. Replacing it with xxd might be even more instructive here. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/