From owner-freebsd-arch Sun Oct 28 10:17:31 2001 Delivered-To: freebsd-arch@freebsd.org Received: from robin.mail.pas.earthlink.net (robin.mail.pas.earthlink.net [207.217.120.65]) by hub.freebsd.org (Postfix) with ESMTP id CB77637B405; Sun, 28 Oct 2001 10:17:28 -0800 (PST) Received: from dialup-209.245.128.59.dial1.sanjose1.level3.net ([209.245.128.59] helo=mindspring.com) by robin.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 15xuUx-0007FZ-00; Sun, 28 Oct 2001 10:17:28 -0800 Message-ID: <3BDC4BEA.520DB04D@mindspring.com> Date: Sun, 28 Oct 2001 10:18:18 -0800 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: Mike Smith , arch@FreeBSD.ORG Subject: Re: 64 bit times revisited.. References: <200110280349.f9S3n6v22087@mass.dis.org> <200110280403.f9S43vm88827@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > I'll tell you what, why don't YOU write a library routine that > detects this: > > /* no includes */ > int x; > > lseek(fd, x, 0); > > Oops! That doesn't work either! Are you going to change our off_t > from 64 back to 32 bits? No? Well, then I'm afraid you are going > to have to just live with it. The off_t is not covered by the C standard, only by POSIX. But even so... All I have to do is define stack passing in the absence of a prototype to result in a sign extension to 64 bits. This is a fairly minor tweak to the compiler sources. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message