[PVFS2-developers] return of 64 bit and request encode/decode
Robert Latham
robl at mcs.anl.gov
Tue Jun 14 18:29:17 EDT 2005
On Tue, Jun 14, 2005 at 06:11:05PM -0400, Pete Wyckoff wrote:
> Might PPC be a big-endian machine? x86* are little-endian.
yes, ppc is big endian. We're ok on ppc32.
> Can you try something like this in src/io/description/pint-request.h:
not bad. you got the syntax right on the first shot :>
> I'm guessing the cast to u_int32_t* is picking up the wrong half
> of the dword on big-endian machines. Another proof that god intended
> the world to be little-endian if so. :)
I don't know if a BE/LE flame fest is better or worse than an emacs/vi
equivalent... in any case, I made the changes you suggested and now
we don't segfault.
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA B29D F333 664A 4280 315B
More information about the PVFS2-developers
mailing list