Dear slime developers,
Slime-snapshot facility is a great thing. Unfortunately, there is a problem in the current `save-image' implementation for sbcl. Nothing serious, just an extra nesting level that is easily removed (patch follows).
--- swank-sbcl.lisp.~1.272.~ 2010-07-21 17:40:32.000000000 +0400 +++ swank-sbcl.lisp 2010-08-11 02:12:41.000000000 +0400 @@ -1553,7 +1553,7 @@ (cond ((= pid 0) (let ((args `(,filename ,@(if restart-function - `((:toplevel ,restart-function)))))) + `(:toplevel ,restart-function))))) (apply #'sb-ext:save-lisp-and-die args))) (t (multiple-value-bind (rpid status) (sb-posix:waitpid pid 0)
(Please excuse me for _not_ posting it as attachment if it _is_ the preferred way here. There seems to be no way to know in advance.)
On Wed, Aug 11, 2010 at 5:56 PM, Anton Kovalenko anton@sw4me.com wrote:
Dear slime developers,
Slime-snapshot facility is a great thing. Unfortunately, there is a problem in the current `save-image' implementation for sbcl. Nothing serious, just an extra nesting level that is easily removed (patch follows).
Thanks, I applied a slightly modified patch.
(Please excuse me for _not_ posting it as attachment if it _is_ the preferred way here. There seems to be no way to know in advance.)
I prefer attachments.