On 12/6/06, Stelian Ionescu stelian.ionescu-zeus@poste.it wrote:
(defun %load-foreign-library (name) "Load the foreign library NAME." - (sys::load-object-file name)) + (or (sys::load-object-file name) + t))
Hmm, that way %LOAD-FOREIGN-LIBRARY will never return NIL, even when loading the library really fails. We should be detecting if the foreign library is already loaded, and we should probably keep track of this in the portable side of things. That's needed for UNLOAD-FOREIGN-LIBRARY too, it's in the TODO list I think.
You're welcome to tackle that TODO item. :-)