-----BEGIN PGP SIGNED MESSAGE-----
On 27 Mar 2001, at 20:49, Mark Knox wrote:
> > > I suspect it might be an alignment problem
> >
> > Sort of. I am suspicious that sizeof(ItemPointerData) is returning
> > 8 rather than 6 as one might expect.
>
> Maybe it's padding the structure to a dword boundary? ARM is
> notorious for such things.. I will rebuild it with
> __attribute__((packed)) on the struct and see if the size changes..
Aha, progress! The packed directive gives attlen of 6 across the
board! Type_sanity test passes now too, so the only failing
regression test is geometry and that is easily dismissed. The
variation is in the last decimal place and probably due to emulated
floating point (ARM has no FPU).
The patch is attached.. it's tiny but seems to be effective.
-----BEGIN PGP SIGNATURE-----
Version: N/A
iQCVAwUBOsFeUv+IdJuhyV9xAQE2XAP9FF93ew+6Ml5iZ1jWjcGrs+3zaXIeWef6
SytNtIfyJqmcnyWnMaxBTlChIvBO5A2HVnBkCydM5BjUXdW1eWsEynrd+U79Yc+e
yVDGo30CK3lAkTLH3Fo6jR3YZe/TsIyr80WlDeqJiWvDmHTfqvo50jRiDq2h1OL/
LmI4YIQM0rQ=
=Vwwp
-----END PGP SIGNATURE-----
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly