diff options
author | jmc <jmc> | 2002-03-15 00:22:42 +0000 |
---|---|---|
committer | jmc <jmc> | 2002-03-15 00:22:42 +0000 |
commit | 173096485fcbd873e667fe94e6e48c44abcbfb72 (patch) | |
tree | 178231c9ca6a83be0bb47d9dcc17f9ef54978f45 /comms | |
parent | b7717d32aaf4281a79b1da690d8a09a7d445004f (diff) | |
download | pkgsrc-173096485fcbd873e667fe94e6e48c44abcbfb72.tar.gz |
Port for powerpc (or any other arch which enforces alignment).
This code was assuming it could copy double's in/out of char *'s with just
casts and normal copies. This blows up on anything which enforces alignments.
Change the generic case for the ATOM to just have a special double field.
For the serialization routines memcpy the double in and provide a union to
memcpy it out to that also contains a single double value. This ensures
alignment is correct and it won't SIGBUS anymore.
Bump pkg to nb1
Diffstat (limited to 'comms')
0 files changed, 0 insertions, 0 deletions