mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 05:21:20 -08:00
Merge branch 'develop' into 'develop'
Check whether dlerror(3) returns NULL. See merge request !41
This commit is contained in:
commit
f3198d2fbc
1 changed files with 4 additions and 1 deletions
|
|
@ -147,7 +147,10 @@ set_library_error(cl_object block) {
|
|||
cl_object output;
|
||||
ecl_disable_interrupts();
|
||||
#ifdef HAVE_DLFCN_H
|
||||
output = make_base_string_copy(dlerror());
|
||||
{
|
||||
const char * const error = dlerror ();
|
||||
output = error == NULL ? ECL_NIL : make_base_string_copy(error);
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_MACH_O_DYLD_H
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue