[cffi-devel] [PATCH] fix %load-foreign-library on cmucl

Stelian Ionescu stelian.ionescu-zeus at poste.it
Wed Dec 13 21:45:37 UTC 2006


On Fri, Dec 08, 2006 at 02:52:08PM +0100, Stelian Ionescu wrote:
>On Fri, Dec 08, 2006 at 09:09:38AM +0000, Luís Oliveira wrote:
>>On 12/6/06, Stelian Ionescu <stelian.ionescu-zeus at 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
>check this new patch
any comment on this patch ?

-- 
(sign :name "Stelian Ionescu" :aka "fe[nl]ix"
      :quote "Quidquid latine dictum sit, altum sonatur.")



More information about the cffi-devel mailing list