Re: x32 "half"arrived... now what?
On Fri, Jun 07, 2013 at 09:49:00AM +0000, Thorsten Glaser wrote:
> Russ Allbery <rra <at> debian.org> writes:
>
> > Be aware that x32 has sizeof(time_t) > sizeof(long), so you should expect
>
> So has MirBSD/i386 (since 2004-06-19) and NetBSD (since roughly a year).
>
> Most frequent thing is format specifiers when struct tm.tm_year is time_t
> instead of long (which is a requirement for time_t to be able to round-trip
> through struct tm, which is required by quite some software).
tm_year should be an int, not a time_t or long. Note that it
counts in years, and so even a 16 bit int isn't going to cause
much problems for tm_year.
Kurt
Reply to: