diff --git a/src/CHANGELOG b/src/CHANGELOG index fe79cfd66..c8304390e 100644 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -47,6 +47,10 @@ ECL 0.9l-p1: defined in the C core and caused an error when used; second, if the output stream was missing or directed to the standard output, it would fail. + - SI:LOAD-FOREIGN-MODULE does not coerce the library name to a truename + before loading. Instead, it leaves this task to the appropriate routine, + dlopen or similar. + ;;; Local Variables: *** ;;; mode:text *** ;;; fill-column:79 *** diff --git a/src/c/ffi.d b/src/c/ffi.d index 5b9b6f6ae..9d33ff303 100644 --- a/src/c/ffi.d +++ b/src/c/ffi.d @@ -418,7 +418,7 @@ si_load_foreign_module(cl_object filename) cl_object output; int i; - filename = cl_namestring(cl_truename(filename)); + filename = cl_coerce_to_filename(filename); #ifdef ECL_THREADS mp_get_lock(1, ecl_symbol_value(@'mp::+load-compile-lock+'));