Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 3194 invoked from network); 15 Dec 2010 22:11:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 22:11:32 -0000 Received: (qmail 40695 invoked by uid 500); 15 Dec 2010 22:11:31 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 40605 invoked by uid 500); 15 Dec 2010 22:11:30 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 40597 invoked by uid 99); 15 Dec 2010 22:11:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 22:11:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of poirier@pobox.com designates 208.72.237.35 as permitted sender) Received: from [208.72.237.35] (HELO sasl.smtp.pobox.com) (208.72.237.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 22:11:25 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id DDC7B989D for ; Wed, 15 Dec 2010 17:11:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=wFED/IJx75FhWh3Lz/H8v8+/bWs=; b=Mu1OBD udKP+lFXnXDtVI++nrT1sL7oEeGHbzpAiFwXbGK3DmUMhh9djU8mlpbiDIG9gE1l Liuo1a1TFk9wftmBseprfzTBpiqyfHsAFS/ONGRuU17zbvgVaDbSGNC0y7kzAdDi dPVhmJcBvzzbedhtEqq0jOI8S+VBXYrYK5dd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :in-reply-to:references:date:message-id:mime-version :content-type; q=dns; s=sasl; b=clxwfWTmAb489BwwdkoP3kVvvCYTXTzE 8vXWNDD+u6g5E9SKS+bOxKPMa2qYAlbEtSyKB+A168e2trfr7S+0w1lmO5unxPqb gMdXchbjgPsF2mzH07jTNEL/1HbV/J55oRiM4T9YYly9I2kwlgaoH62EnPzYMUHe 58DebQDhJ9c= Received: from b-pb-sasl-quonix. (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id DC579989B for ; Wed, 15 Dec 2010 17:11:03 -0500 (EST) Received: from kabuki.mynet (unknown [24.136.204.69]) by b-sasl-quonix.pobox.com (Postfix) with ESMTPA id 3A8479899 for ; Wed, 15 Dec 2010 17:11:03 -0500 (EST) From: Dan Poirier To: dev@apr.apache.org Subject: Re: [PATCH] %lld support in apr_snprintf() In-Reply-To: <2AD67559-8ADA-4E9A-9DBF-3DF913C0D813@jaguNET.com> (Jim Jagielski's message of "Mon, 8 Nov 2010 10:27:24 -0500") References: <37818C6C-E90A-4DA4-A57B-91E8A4612077@temme.net> <4CD3066E.7010402@rowe-clan.net> <1D4C0A5A-5966-41A9-AB53-F3963CD59E80@temme.net> <1DAE160F-A799-4E68-85F4-4AA7477EC3B8@nasa.gov> <2AD67559-8ADA-4E9A-9DBF-3DF913C0D813@jaguNET.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Date: Wed, 15 Dec 2010 17:11:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 3505E0BC-0898-11E0-9A61-8DAE00F9A0F2-25076293!b-pb-sasl-quonix.pobox.com On Mon. 2010-11-08 at 10:27 AM EST, Jim Jagielski wrote: > On Nov 7, 2010, at 7:42 PM, Jeff Trawick wrote: > >> On Sun, Nov 7, 2010 at 6:51 PM, Chris Knight >> wrote: >>> Exactly, the problem only appears on 64-bit Snow Leopard. See my patch in Bugzilla, which I've verified. (Unsure if the below would also work, been a long time since I diagnosed.) >> >> What I understood was that %lld is supposed to work, independent of >> which APR_*_FMT defines use %lld. >> >> I haven't tried the other patches on Leopard-64 to see which help there. >> > > If one forces *just* 64bit, then, afaict, the patch is not needed. > It's only if one builds APR with both i386 and x86_64 that > things break... That's not my experience. If I build just 64bit (CC="gcc -arch x86_64"), testfmt fails on APR_OFF_T_FMT. (And httpd fails most of its byterange tests.) With Sander's patch to notice the second "l" in "%ll?", that test works but another one, using APR_UINT64_T_FMT, fails. I haven't dug into that one yet. Dan