[current tinderbox] failure on alpha/alpha

Philip Paeps philip at freebsd.org
Tue Mar 15 02:32:46 PST 2005


On 2005-03-15 11:06:53 (+0100), Harti Brandt <hartmut.brandt at dlr.de> wrote:
> On Tue, 15 Mar 2005, Philip Paeps wrote:
> > On 2005-03-15 04:28:01 (-0500), FreeBSD Tinderbox <tinderbox at freebsd.org> 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 best I've found so far to print an integer type of unknown size is to
> cast it to either intmax_t or uintmax_t and print it using %jd or %ju.  This
> requires that you at least know the signedness.

That seems to work, thanks!  Just testing this on beast to make sure.

 - Philip

-- 
Philip Paeps                     Calm down ... it is only ones and zeros
philip at freebsd.org


  A bird in the hand is dead.


More information about the freebsd-tinderbox mailing list