[current tinderbox] failure on alpha/alpha

Sten Spans sten at blinkenlights.nl
Tue Mar 15 03:15:33 PST 2005


On Tue, 15 Mar 2005, Philip Paeps wrote:

>> *** Error code 1
>
> Ugh, looks like I broke this...
>
> Is there a special magical format to use to printf a time_t without having it
> break on at least one of the architectures we support?

The only portable way seems to be strftime.
But almost nobody bothers.

strftime(output, sizeof(output), "%s", gmtime(&data->uptime));

-- 
Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem


More information about the freebsd-tinderbox mailing list