From owner-cvs-all Thu Mar 13 3:15:20 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C13037B401; Thu, 13 Mar 2003 03:15:18 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3176E43F85; Thu, 13 Mar 2003 03:15:17 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au ([211.26.206.79]) by smtp01.syd.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Thu, 13 Mar 2003 22:15:14 +1100 Received: from dilbert.robbins.dropbear.id.au (z3cbzu4ay1mllj6y@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id h2DBF7JK065058; Thu, 13 Mar 2003 22:15:07 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id h2DBF4s0065056; Thu, 13 Mar 2003 22:15:04 +1100 (EST) (envelope-from tim) Date: Thu, 13 Mar 2003 22:15:01 +1100 From: Tim Robbins To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio vfwprintf.c Message-ID: <20030313221501.A64319@dilbert.robbins.dropbear.id.au> References: <200303130549.h2D5n9m2093851@repoman.freebsd.org> <20030313104157.GA13413@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030313104157.GA13413@HAL9000.homeunix.com>; from das@FreeBSD.ORG on Thu, Mar 13, 2003 at 02:41:57AM -0800 X-OriginalArrivalTime: 13 Mar 2003 11:15:15.0004 (UTC) FILETIME=[D2527FC0:01C2E951] Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 13, 2003 at 02:41:57AM -0800, David Schultz wrote: > > tjr 2003/03/12 21:49:09 PST > > > > FreeBSD src repository > > > > Modified files: > > lib/libc/stdio vfwprintf.c > > Log: > > MFp4: Catch up to recent __dtoa() interface changes and removal of cvt()'s > > last argument. > > > > Revision Changes Path > > 1.5 +10 -11 src/lib/libc/stdio/vfwprintf.c > > Thanks for remembering that. I know this has been discussed > before, but will vfwprintf() ever be merged with vfprintf()? > I'd rather not fix all the floating point bugs in what seems > to be essentially two copies of the same code. It's quite possible. I did create a merged version at one stage before committing it, but thought it would be slightly easier to develop if I didn't have to worry about the #ifdefs etc. Now that vfwprintf() is pretty much finished, merging them mightn't be a bad idea. When I find a decent chunk of spare time, I'll make a merged version again and send it around for people to decide whether they like it more than the two separate copies. FWIW, merging your changes from vfprintf.c to vfwprintf.c was a matter of doing: p4 integ -f vfprintf.c#23,23 vfwprintf.c p4 resolve vfwprintf.c *fix 5 conflicts* p4 submit vfwprintf.c Most of the conflicts were caused by the removal of the last argument to cvt() and moving the prototype for __dtoa(). Anyway, don't let the existence of vfwprintf.c put you off fixing bugs in vfprintf.c. Until (if?) the files get merged, I'll take care of propagating your changes to vfwprintf. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message