bytevector: More unaligned access ("bus error") fixes.
commit626683d53e8c4d5ae5d7e69a44f6c5dfa0768b99
authorLudovic Court`es <ludovic.courtes@laas.fr>
Fri, 3 Aug 2007 08:28:05 +0000 (3 08:28 +0000)
committerLudovic Court`es <ludovic.courtes@laas.fr>
Fri, 3 Aug 2007 08:28:05 +0000 (3 08:28 +0000)
treef7a3b8e4ff92ca2e9011118aa3b1ebde993a9f18
parent3049c1b00ffaee37e65da5ac16a9f3dd57e647c9
bytevector: More unaligned access ("bus error") fixes.

* src/bytevector.c (GENERIC_INTEGER_SET): Use `memcpy ()' instead of raw
  cast+dereferences to avoid unaligned accesses on SPARC.

* tests/bytevector.test (2.2 Operations on Bytes and
  Octets)[bytevector-sint-set! [small]]: New.

git-archimport-id: lcourtes@laas.fr--2006-libre/guile-r6rs-libs--devo--0--patch-36
ChangeLog
src/bytevector.c
tests/bytevector.test