summaryrefslogtreecommitdiff
path: root/www/ap-DBI
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-15 00:22:42 +0000
committerjmc <jmc@pkgsrc.org>2002-03-15 00:22:42 +0000
commit38043454816ca72572927eea75885d1ecd21c839 (patch)
tree178231c9ca6a83be0bb47d9dcc17f9ef54978f45 /www/ap-DBI
parentfdc5df705127c06218f31341ab1170293ae048cc (diff)
downloadpkgsrc-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