diff options
author | jmc <jmc@pkgsrc.org> | 2002-03-15 00:22:42 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2002-03-15 00:22:42 +0000 |
commit | 38043454816ca72572927eea75885d1ecd21c839 (patch) | |
tree | 178231c9ca6a83be0bb47d9dcc17f9ef54978f45 /www/ap-DBI | |
parent | fdc5df705127c06218f31341ab1170293ae048cc (diff) | |
download | pkgsrc-38043454816ca72572927eea75885d1ecd21c839.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 'www/ap-DBI')
0 files changed, 0 insertions, 0 deletions