From: Andreas Fuchs Date: Sun, 7 Nov 2004 23:12:49 +0000 (+0000) Subject: 0.8.16.35: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=6198ab492260b440a551e29b274bdd4ac5534dbb;p=sbcl.git 0.8.16.35: Fix FASL loader in the presence of foreign-datarefs on unicode * Make fop-foreign-dataref-fixup treat the foreign symbol as a BASE-CHAR string. * Make foreign.test.sh use a FASL file instead of a LOADed .lisp file. * Incidentally, also fix tests/foreign.test.sh, too: it returned success even when there was a failure in the main test. --- diff --git a/src/code/fop.lisp b/src/code/fop.lisp index a981179..33146bf 100644 --- a/src/code/fop.lisp +++ b/src/code/fop.lisp @@ -704,7 +704,7 @@ bug.~:@>") (let* ((kind (pop-stack)) (code-object (pop-stack)) (len (read-byte-arg)) - (sym (make-string len))) + (sym (make-string len :element-type 'base-char))) (read-n-bytes *fasl-input-stream* sym 0 len) (sb!vm:fixup-code-object code-object (read-word-arg) diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 593412a..9ae8a48 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -31,16 +31,17 @@ cc -c $testfilestem.c -o $testfilestem.o ld -shared -o $testfilestem.so $testfilestem.o # Foreign definitions & load -cat > $testfilestem.deflisp < $testfilestem.def.lisp < $testfilestem.deflisp < $testfilestem.testlisp < $testfilestem.test.lisp < $testfilestem.testlisp <