X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsearch.c;h=1fb66b9118b16a0420de19fdb34622c28346d1ee;hb=5cd0fc84df83d1b3321b7fc969843207721de429;hp=1ea8dfabd3700aed1ac7b3838666d9fa6b048b27;hpb=902e93736a0888aa6b04dc328b1eb328423bf426;p=sbcl.git diff --git a/src/runtime/search.c b/src/runtime/search.c index 1ea8dfa..1fb66b9 100644 --- a/src/runtime/search.c +++ b/src/runtime/search.c @@ -11,8 +11,8 @@ #include -#include "runtime.h" #include "sbcl.h" +#include "runtime.h" #include "os.h" #include "search.h" #include "thread.h" @@ -47,6 +47,8 @@ boolean search_for_symbol(char *name, lispobj **start, int *count) if (lowtag_of(symbol->name) == OTHER_POINTER_LOWTAG) { symbol_name = (struct vector *)native_pointer(symbol->name); if (is_valid_lisp_addr((os_vm_address_t)symbol_name) && + /* FIXME: Broken with more than one type of string + (i.e. even broken given (VECTOR NIL) */ widetag_of(symbol_name->header) == SIMPLE_BASE_STRING_WIDETAG && strcmp((char *)symbol_name->data, name) == 0) return 1;