Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 10:18:18 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: 64 bit times revisited..
Message-ID:  <3BDC4BEA.520DB04D@mindspring.com>
References:  <200110280349.f9S3n6v22087@mass.dis.org> <200110280403.f9S43vm88827@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BDC4BEA.520DB04D>