From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8635 invoked from network); 26 Apr 2007 01:17:15 -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 Apr 2007 01:17:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 74415 invoked from network); 26 Apr 2007 01:17:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Apr 2007 01:17:09 -0000 Received: (qmail 11402 invoked by alias); 26 Apr 2007 01:17:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23326 Received: (qmail 11392 invoked from network); 26 Apr 2007 01:17:06 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Apr 2007 01:17:06 -0000 Received: (qmail 74153 invoked from network); 26 Apr 2007 01:17:06 -0000 Received: from redoubt.spodhuis.org (HELO mx.spodhuis.org) (193.202.115.177) by a.mx.sunsite.dk with SMTP; 26 Apr 2007 01:17:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=first1; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition; b=Hl6eX5Ll8PRgFo1m3+55NT8jUAYgxypHa4kCY9PHSVbQ3hchghlGqMxlSai6/YRnpKxs+F9ZWGM4u9XZ0oR5wMwI4au4LmMmZqi7vhQW2QT+CU31EFkzFbZDs7R3Irx7TU36/josPSQs08iZGlaWafiAXvtAFHkpK6Ne1oBCshw=; Received: by smtp.spodhuis.org with local id 1HgsbW-000MbY-TB; Thu, 26 Apr 2007 01:17:02 +0000 Date: Wed, 25 Apr 2007 18:17:02 -0700 From: Phil Pennock To: zsh-workers@sunsite.dk Subject: 4.3.4 HEAD and iconv Message-ID: <20070426011702.GA86823@redoubt.spodhuis.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, If I get the current HEAD source then it won't build for me by default, as I didn't let it know where iconv was and there's a point in the code which assumes that if you HAVE_NL_LANGINFO and CODESET then you can use a variable, count, which only exists if you HAVE_ICONV. No idea whether or not this is a logically correct fix, but it does let the code compile and run. --- zsh-head/Src/utils.c Tue Apr 17 04:59:38 2007 +++ zsh/Src/utils.c Wed Apr 25 17:35:12 2007 @@ -4569,10 +4569,12 @@ int count; #else unsigned int wval; -# if defined(HAVE_NL_LANGINFO) && defined(CODESET) && defined(HAVE_ICONV) +# if defined(HAVE_NL_LANGINFO) && defined(CODESET) +# if defined(HAVE_ICONV) iconv_t cd; char inbuf[4]; size_t inbytes, outbytes; +# endif size_t count; # endif #endif