From: Nikodemus Siivola Date: Tue, 5 Jul 2005 19:29:08 +0000 (+0000) Subject: 0.9.2.30: oops, missed one X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=5827ad0e60f034bff35ff1986aa5227ed88eef45;p=sbcl.git 0.9.2.30: oops, missed one * rename one more call to FOREIGN-SYMBOL-ADDRESS-AS-INTEGER * fix foreign.test.sh to actually fail when we can't load stuff properly. --- diff --git a/src/code/fop.lisp b/src/code/fop.lisp index 95165d9..6a3506b 100644 --- a/src/code/fop.lisp +++ b/src/code/fop.lisp @@ -715,6 +715,6 @@ bug.~:@>") (read-n-bytes *fasl-input-stream* sym 0 len) (sb!vm:fixup-code-object code-object (read-word-arg) - (foreign-symbol-address-as-integer sym t) + (foreign-symbol-address sym t) kind) code-object)) diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 2d7865f..b5176bd 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -27,10 +27,10 @@ testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$ build_so() { echo building $1.so - if [ $(uname -m) = x86_64 ]; then + if [ "$(uname -m)" = x86_64 ]; then CFLAGS="$CFLAGS -fPIC" fi - if [ $(uname) = Darwin ]; then + if [ "$(uname)" = Darwin ]; then SO_FLAGS="-bundle" else SO_FLAGS="-shared" @@ -84,6 +84,10 @@ cat > $testfilestem.def.lisp < $testfilestem.test.lisp <