X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsearch.c;h=3f96bc3b3911e034dd30384ea03341c59939ea0c;hb=cf4cb9554515c59eddbde38d1cf236339c37f55f;hp=217a2942d826d8e58cf4ae69a67d1053d01658cb;hpb=686043635c45a16b418d2cc96a7f704fdab182c2;p=sbcl.git diff --git a/src/runtime/search.c b/src/runtime/search.c index 217a294..3f96bc3 100644 --- a/src/runtime/search.c +++ b/src/runtime/search.c @@ -11,10 +11,12 @@ #include -#include "runtime.h" #include "sbcl.h" +#include "runtime.h" #include "os.h" #include "search.h" +#include "thread.h" +#include "genesis/primitive-objects.h" boolean search_for_type(int type, lispobj **start, int *count) { @@ -45,7 +47,7 @@ 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) && - widetag_of(symbol_name->header) == SIMPLE_STRING_WIDETAG && + widetag_of(symbol_name->header) == SIMPLE_BASE_STRING_WIDETAG && strcmp((char *)symbol_name->data, name) == 0) return 1; }