[Ecls-list] Bug fix for Slime C-c C-k in Windows
Dustin Long
dlong at stevens.edu
Wed May 2 16:42:55 UTC 2007
Hello,
I noticed that with Slime/ECL on Windows, slime-compile-and-load-file
(C-c C-k) has no effect after being used once. The reason seems to be
that ECL uses dll's for fasl, and in Windows once a library is loaded it
cannot be written to.
I came up with a fix that has two parts. One, whenever compile-file is
called in Windows to create a fasl, if the .fas exists and is loaded, it
is moved to the temporary directory (since loaded libraries can be
moved, but not modified). Then, when a .fas gets loaded, if it was
already loaded it is closed first (since loading an already loaded
library will just return the old handle, even if the dll was changed).
Patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod.diff
Type: text/x-diff
Size: 3098 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070502/ee04d6c4/attachment.diff>
More information about the ecl-devel
mailing list