[tz] x32

James Cloos cloos at jhcloos.com
Thu May 30 13:16:06 UTC 2013


Given the recent note about 32-bit long vs 64-bit time_t on x32:

zdump(8), run on gentoo x32, gives the same output as when run on amd64,
with zdump -v America/New_York ending with:

,----< zdump -v America/New_York | tail -n 6 >
| America/New_York  Sun Mar  8 06:59:59 2499 UTC = Sun Mar  8 01:59:59 2499 EST isdst=0
| America/New_York  Sun Mar  8 07:00:00 2499 UTC = Sun Mar  8 03:00:00 2499 EDT isdst=1
| America/New_York  Sun Nov  1 05:59:59 2499 UTC = Sun Nov  1 01:59:59 2499 EDT isdst=1
| America/New_York  Sun Nov  1 06:00:00 2499 UTC = Sun Nov  1 01:00:00 2499 EST isdst=0
| America/New_York  9223372036854689407 = NULL
| America/New_York  9223372036854775807 = NULL
`----

The Gentoo ebuild has a patch(5) for Makefile to install things where
they prefer, but makes no changes to the code.

So, based on that one datapoint ☺, 32-bit long and 64-bit time_t should
work out of the box.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the tz mailing list