diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-07-01 16:21:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-07-01 16:21:21 +0200 |
commit | 1e8f93922922b09c7003a357d86777b2a79e9735 (patch) | |
tree | 1b675f82f6ffca4601b4d434ad21661981d97b15 /lib/float.in.h | |
parent | e780c14fd0fd2572eaebc2949f6a67fc773c2835 (diff) | |
download | guile-1e8f93922922b09c7003a357d86777b2a79e9735.tar.gz |
Fix unaligned accesses for bytevectors of complex numbers.
* libguile/bytevectors.c (bytevector_ref_c32, bytevector_ref_c64,
bytevector_set_c32, bytevector_set_c64): Use `memcpy' to avoid
unaligned accesses. This fixes SIGBUS on SPARC and possibly other
alignment-sensitive platforms.
Diffstat (limited to 'lib/float.in.h')
0 files changed, 0 insertions, 0 deletions