Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 11:40:47 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        arch@freebsd.org, stefanf@freebsd.org, Colin Percival <cperciva@freebsd.org>, des@des.no
Subject:   Re: [releng_6 tinderbox] failure on sparc64/sparc64
Message-ID:  <20060213094047.GA42056@flame.pc>
In-Reply-To: <20060213093833.GB705@turion.vk2pj.dyndns.org>
References:  <20060205084813.GN21806@wombat.fafoe.narf.at> <867j89n71d.fsf@xps.des.no> <20060205220211.GA5151@falcon.midgard.homeip.net> <20060213.002310.125802352.imp@bsdimp.com> <20060213082129.GA13997@flame.pc> <43F04494.4030900@freebsd.org> <20060213084802.GA53779@flame.pc> <20060213093833.GB705@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-02-13 20:38, Peter Jeremy <peterjeremy@optushome.com.au> wrote:
> On Mon, 2006-Feb-13 10:48:02 +0200, Giorgos Keramidas wrote:
> >Good thinking.  It's probably a good idea to avoid copying random
> >garbage, and using something like:
> >
> >    struct foo foo;
> >    uint32_t value[sizeof(uint32_t) * (sizeof(foo) / sizeof(uint32_t) + 1)];
>
> That makes it about 4 times too large - you don't need to multiply by
> sizeof(uint32_t).

Ugh!  Yes, you're right of course :)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060213094047.GA42056>