From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2622 invoked from network); 26 Feb 2008 15:00:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Feb 2008 15:00:45 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 41314 invoked from network); 26 Feb 2008 15:00:41 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Feb 2008 15:00:41 -0000 Received: (qmail 19620 invoked by alias); 26 Feb 2008 15:00:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24594 Received: (qmail 19587 invoked from network); 26 Feb 2008 15:00:37 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 26 Feb 2008 15:00:37 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [85.115.41.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5B4A38026E0B for ; Tue, 26 Feb 2008 16:00:29 +0100 (CET) Received: from rly04g.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly04g.srv.mailcontrol.com (MailControl) with ESMTP id m1QExwn6024255 for ; Tue, 26 Feb 2008 15:00:15 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly04g.srv.mailcontrol.com (MailControl) id m1QExFGs020748 for zsh-workers@sunsite.dk; Tue, 26 Feb 2008 14:59:15 GMT Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly04g-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id m1QEt2JQ003666; Tue, 26 Feb 2008 14:59:11 +0000 (GMT) Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Tue, 26 Feb 2008 14:57:41 +0000 Date: Tue, 26 Feb 2008 14:57:41 +0000 From: Peter Stephenson To: Dagobert Michelsen Cc: zsh-workers@sunsite.dk Subject: Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC Message-ID: <20080226145741.6e74fc22@news01> In-Reply-To: References: <8AABEECB-A9A6-43EA-BED2-4BE376CBE349@blastwave.org> <20080226141459.76dc362c@news01> Organization: CSR X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.5; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Feb 2008 14:57:41.0453 (UTC) FILETIME=[EF863FD0:01C87887] X-Scanned-By: MailControl A-08-00-04 (www.mailcontrol.com) on 10.71.1.114 X-Virus-Scanned: ClamAV 0.91.2/6003/Tue Feb 26 12:34:31 2008 on bifrost X-Virus-Status: Clean On Tue, 26 Feb 2008 15:42:19 +0100 Dagobert Michelsen wrote: > Hi Peter, > > first, thanks for the effort. I have applied the patch > and reran the testsuite. > ./A03quoting.ztst: starting. > Test ./A03quoting.ztst failed: bad status 1, expected 0 from: > print '<\u0041>' > printf '%s\n' $'<\u0042>' > print '<\u0043>' > printf '%s\n' $'<\u0044>' > Error output: > (eval):1: cannot do charset conversion (iconv failed) > Was testing: \u in both print and printf Weird... that's the variant I wasn't expecting since it implies a run time failure in iconv, and not a dynamical link failure, either. That means this call failed (Src/utils.c:4878 in the current source): cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE"); if (cd == (iconv_t)-1) { zerr("cannot do charset conversion (iconv failed)"); CHARSET_FAILED(); } Any idea if your iconv supports UCS-4BE? GNU iconv will tell you with "iconv --list", but if you have a Solaris variant it's likely to be different. Otherwise, could nl_langinfo(CODESET) not be returning anything? -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070