From 5827ad0e60f034bff35ff1986aa5227ed88eef45 Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Tue, 5 Jul 2005 19:29:08 +0000 Subject: [PATCH] 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. --- src/code/fop.lisp | 2 +- tests/foreign.test.sh | 17 +++++++++++------ version.lisp-expr | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/code/fop.lisp b/src/code/fop.lisp index 95165d969..6a3506b75 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 2d7865f86..b5176bde7 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 <