Problem with DHCLIENT vs 64-bit time_t
John Baldwin
jhb at FreeBSD.org
Mon Feb 23 10:42:34 PST 2004
On Sunday 22 February 2004 05:14 pm, Dag-Erling Smørgrav wrote:
> Marcel Moolenaar <marcel at xcllnt.net> 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* directly
still works ok (for some value of works). That is why only sparc64 has a
catastrophic failure.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-sparc64
mailing list