projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.20.23: get rid of IGNORE-ERRORS in SB-INTROSPECT
[sbcl.git]
/
src
/
code
/
foreign-load.lisp
diff --git
a/src/code/foreign-load.lisp
b/src/code/foreign-load.lisp
index
2e619ef
..
7f7445d
100644
(file)
--- a/
src/code/foreign-load.lisp
+++ b/
src/code/foreign-load.lisp
@@
-33,7
+33,10
@@
(define-alien-routine dlerror c-string)
(define-alien-routine dlerror c-string)
-(define-alien-routine dlsym system-area-pointer
+(define-alien-routine
+ #!-openbsd dlsym
+ #!+openbsd ("os_dlsym" dlsym)
+ system-area-pointer
(handle system-area-pointer)
(symbol c-string))
(handle system-area-pointer)
(symbol c-string))
@@
-172,7
+175,8
@@
is never in the linkage-table."
(error 'undefined-alien-error :name symbol))
#!+linkage-table
((not addr)
(error 'undefined-alien-error :name symbol))
#!+linkage-table
((not addr)
- (style-warn "Undefined alien: ~S" symbol)
+ (style-warn 'sb!kernel:undefined-alien-style-warning
+ :symbol symbol)
(setf (gethash symbol undefineds) t)
(remhash symbol symbols)
(if datap
(setf (gethash symbol undefineds) t)
(remhash symbol symbols)
(if datap