From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10647 invoked by alias); 23 May 2011 16:27:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29358 Received: (qmail 22777 invoked from network); 23 May 2011 16:27:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 23 May 2011 17:27:09 +0100 From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: Test failure with negative substring offsets Message-ID: <20110523172709.42f96f85@pwslap01u.europe.root.pri> In-Reply-To: References: <20110523161035.747f484d@pwslap01u.europe.root.pri> <20110523165614.5e638a17@pwslap01u.europe.root.pri> <110523091052.ZM10054@torch.brasslantern.com> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.103.11.49] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.71.0.132 On Mon, 23 May 2011 18:19:04 +0200 Mikael Magnusson wrote: > But maybe the autoconf macro > could define a ZSH_PRINTF_SPECIFIER to %ld or %lld depending on what > zlong is? That would be useful, unfortunately those aren't the only cases... if test "$zsh_cv_64_bit_type" = no; then zsh_64_BIT_TYPE(quad_t, zsh_cv_64_bit_type) fi if test "$zsh_cv_64_bit_type" = no; then zsh_64_BIT_TYPE(__int64_t, zsh_cv_64_bit_type) fi I'd settle for just casting to long here. -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom