From owner-freebsd-sparc64@FreeBSD.ORG Mon Feb 23 10:42:34 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF37E16A4CE for ; Mon, 23 Feb 2004 10:42:34 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7A6743D1F for ; Mon, 23 Feb 2004 10:42:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 7254 invoked from network); 23 Feb 2004 18:42:34 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 23 Feb 2004 18:42:34 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i1NIgR28031377; Mon, 23 Feb 2004 13:42:28 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: sparc64@FreeBSD.org Date: Mon, 23 Feb 2004 13:42:34 -0500 User-Agent: KMail/1.6 References: <20040222191618.GB53610@dhcp01.pn.xcllnt.net> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200402231342.34470.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Garance A Drosihn Subject: Re: Problem with DHCLIENT vs 64-bit time_t X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 18:42:34 -0000 On Sunday 22 February 2004 05:14 pm, Dag-Erling Sm=F8rgrav wrote: > Marcel Moolenaar writes: > > This code is then obviously also broken on amd64 and ia64 [...] > > yep, if they have 64-bit time_t. They are little endian though, so treating a time_t * as an int32_t* direct= ly=20 still works ok (for some value of works). That is why only sparc64 has a=20 catastrophic failure. =2D-=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org