From owner-cvs-all Sun Oct 7 3:56:43 2001 Delivered-To: cvs-all@freebsd.org Received: from columbus.cris.net (ns.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id 90BDC37B403; Sun, 7 Oct 2001 03:56:26 -0700 (PDT) Received: from ark.cris.net (ns2.cris.net [212.110.128.68]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id NAA25011; Sun, 7 Oct 2001 13:25:44 +0300 (EEST) Received: (from phantom@localhost) by ark.cris.net (8.11.1/8.11.1) id f97APBm35142; Sun, 7 Oct 2001 13:25:11 +0300 (EEST) Date: Sun, 7 Oct 2001 13:25:11 +0300 From: Alexey Zelkin To: Doug Rabson Cc: Jake Burkholder , Doug Rabson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib strtod.c Message-ID: <20011007132511.A32275@ark.cris.net> References: <20011006121653.D7732@locore.ca> <20011006173708.B530-100000@salmon.nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20011006173708.B530-100000@salmon.nlsystems.com>; from dfr@nlsystems.com on Sat, Oct 06, 2001 at 05:37:53PM +0100 X-Operating-System: FreeBSD 3.5-STABLE i386 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 hi, On Sat, Oct 06, 2001 at 05:37:53PM +0100, Doug Rabson wrote: > On Sat, 6 Oct 2001, Jake Burkholder wrote: > > > Apparently, On Sat, Oct 06, 2001 at 08:58:54AM -0700, > > Doug Rabson said words to the effect of; > > > > > dfr 2001/10/06 08:58:54 PDT > > > > > > Modified files: > > > lib/libc/stdlib strtod.c > > > Log: > > > Make this work on ia64. I have no idea why it works on alpha - it > > > shouldn't. > > > > > > Revision Changes Path > > > 1.9 +8 -2 src/lib/libc/stdlib/strtod.c > > > > I assume that's why we have netbsd_strtod.c and a not so temporary > > hack in the stdlib Makefile.inc. > > > > .if ${MACHINE_ARCH} == "alpha" > > # XXX Temporary until the assumption that a long is 32-bits is resolved > > # XXX FreeBSD's code. NetBSD kludged this with Long = int32_t and > > # XXX ULong = u_int32_t > > SRCS+= netbsd_strtod.c > > .else > > SRCS+= strtod.c > > .endif > > Oh yes, I remember that. Hehe. Perhaps we should always use > netbsd_strtod.c (or maybe get a fresh copy from NetBSD-current). Few weeks ago I made a work on review and merge functional parts of netbsd's strtod(3) (both used in out tree, as netbsd_strtod.c, and recent NetBSD) and our strtod(3). My patch eliminates need of having netbsd's version of strtod in our tree. I'll find this patch and post to you for review and testing because it's mainly affecting non i386 architectures. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message