From owner-cvs-all Sat Oct 6 9:40:41 2001 Delivered-To: cvs-all@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 0F72D37B406; Sat, 6 Oct 2001 09:40:32 -0700 (PDT) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 15puV4-000GwV-0C; Sat, 6 Oct 2001 16:40:30 +0000 Received: from salmon.nlsystems.com (salmon [10.0.0.3]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f96GdF761711; Sat, 6 Oct 2001 17:39:15 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 6 Oct 2001 17:37:53 +0100 (BST) From: Doug Rabson To: Jake Burkholder Cc: Doug Rabson , , Subject: Re: cvs commit: src/lib/libc/stdlib strtod.c In-Reply-To: <20011006121653.D7732@locore.ca> Message-ID: <20011006173708.B530-100000@salmon.nlsystems.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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). -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message