Mark Wooding wrote:
> On CMUCL, the uffi:load-foreign-library function attempts to use
> sys::load-object-file to load .so files (rather than falling back to
> alien:load-foreign as it does for other types).  However, unlike
> alien:load-foreign, sys::load-object-file reports errors (e.g., failure to
> find the library in question) by returning nil.  UFFI ignores this
> return value (resumably assuming that it would signal an error), and
> assumes it succeeded.

The specification for load-foreign-library
(http://uffi.b9.com/manual/load-foreign-library.html) states that the
function will return NIL if the library was not able to be
loaded. Thus, the current code correctly follows the specification for
this particular case.

Kevin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to