Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27194 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 212 invoked by uid 1010); 25 Dec 2006 01:44:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 197 invoked from network); 25 Dec 2006 01:44:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2006 01:44:05 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.188 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 64.233.182.188 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.188] ([64.233.182.188:37980] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/B9-18686-F9C2F854 for ; Sun, 24 Dec 2006 20:43:30 -0500 Received: by nf-out-0910.google.com with SMTP id l35so2437961nfa for ; Sun, 24 Dec 2006 17:42:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QwhU6AP1F7e4MbKjqDSjpJEsAKfakbnop19lsZuxWBKOWJ+X35+nY1PxuKztnBIaFiUS4u6U1q32748VymtcnZLnDat3HsOssGeLN46DqAGnJbaLBbw/rJ7P21B5xi5PUiMldwgSK2GNMUQUX8HdL5PP0IYuo9aXkd+bjN5OqdE= Received: by 10.49.13.19 with SMTP id q19mr14586977nfi.1167010972989; Sun, 24 Dec 2006 17:42:52 -0800 (PST) Received: by 10.48.212.10 with HTTP; Sun, 24 Dec 2006 17:42:52 -0800 (PST) Message-ID: <7f3ed2c30612241742x79c5f040s92396f2dab294ebd@mail.gmail.com> Date: Mon, 25 Dec 2006 02:42:52 +0100 To: "Ilia Alshanetsky" Cc: "Matt Wilmas" , internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <01c501c725c3$8c6c32a0$0201a8c0@pc1> Subject: Re: [PHP-DEV] [PATCH] *printf %e bug (36392) From: hannes.magnusson@gmail.com ("Hannes Magnusson") Hi Ilia Are you sure this wasn't intended behavior? As far as I can see this has been like this for ever, it even breaks the test you added yourself over 4 years ago... -Hannes On 12/22/06, Ilia Alshanetsky wrote: > Matt, > > The patch was applied, thanks. > > > On 22-Dec-06, at 7:20 AM, Matt Wilmas wrote: > > > Hi, > > > > Using the %e format specifier in the *printf() functions gives one > > less > > decimal place than it should. The recent *printf changes only > > happened to > > fix the problem when precision is 0. The new %E works correctly, > > which is > > obvious from the code. :-) Anyway, the attached patches remove the > > few > > problem lines. > > > > BTW, should there be a NEWS entry about the addition of %g, %G, and > > the > > previously missing %E (uppercase)? If I wasn't following the changes, > > that's something I'd want to see... :-) > > > > > > Matt > > > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >