From owner-cvs-src@FreeBSD.ORG Mon Apr 14 04:39:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D3F37B401; Mon, 14 Apr 2003 04:39:49 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2358243FAF; Mon, 14 Apr 2003 04:39:49 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.85.56) by smtp01.syd.iprimus.net.au (7.0.012) id 3E96D1D200088AC4; Mon, 14 Apr 2003 21:39:43 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id 5DED4C90D; Mon, 14 Apr 2003 21:39:01 +1000 (EST) Date: Mon, 14 Apr 2003 21:39:01 +1000 From: Tim Robbins To: David Schultz Message-ID: <20030414213901.A77926@dilbert.robbins.dropbear.id.au> References: <200304141124.h3EBOsDs014240@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200304141124.h3EBOsDs014240@repoman.freebsd.org>; from das@FreeBSD.org on Mon, Apr 14, 2003 at 04:24:53AM -0700 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio vfprintf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 11:39:50 -0000 On Mon, Apr 14, 2003 at 04:24:53AM -0700, David Schultz wrote: > das 2003/04/14 04:24:53 PDT > > FreeBSD src repository > > Modified files: > lib/libc/stdio vfprintf.c > Log: > Fix a bug where printf was erroneously printing a decimal point for > %f and sufficiently short %g specifiers where the precision was > explicitly zero, no '#' flag was specified, and the floating point > argument was > 0 and <= 0.5. While at it, add some comments to better > explain the relevant bits of code. > > Noticed by: Christoph Kukulies Cool, thanks, vfwprintf() merge is on the way. Tim