-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At some point hitherto, Jerry Feldman hath spake thusly: > Sending binary data, even endian neutral, can be dangerous. For instance, > in C, the following structure indicates the problem. Am I counting wrong? > struct { > char a; /* 1 byte */ > long b; /* 8 bytes */ > }; > The size of the struct on a 32 bit CISC system might be 9 bytes, but on a > 32 bit RISC would be 8 bytes long, because field b must be aligned on a 32 > bit boundary. How does one fit 9 bytes into 8 bytes? Wouldn't it have to be 12 bytes? - -- Derek Martin ddm@pizzashack.org - --------------------------------------------- I prefer mail encrypted with PGP/GPG! GnuPG Key ID: 0x81CFE75D Retrieve my public key at http://pgp.mit.edu Learn more about it at http://www.gnupg.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9eOsxdjdlQoHP510RAi0RAJ9e5YhONIeFCxPRJ/OjQdm/wA5T/QCgs5Dd gs5mri4xkWlYXHKQNsWw3yA= =NlsL -----END PGP SIGNATURE-----