]> git.jsancho.org Git - gacela.git/commitdiff
(no commit message)
authorjsancho <devnull@localhost>
Fri, 13 Nov 2009 16:51:14 +0000 (16:51 +0000)
committerjsancho <devnull@localhost>
Fri, 13 Nov 2009 16:51:14 +0000 (16:51 +0000)
gacela.lisp
gacela_misc.lisp

index d94e4685246edaa305112488eeca66ed7aa1cf29..8517a9c87c41a8d86189dab2e791dd2530123389 100644 (file)
   (defun eval-from-clients ()
     (dolist (cli clients)
       (when (si::listen cli)
-       (secure-block cli (eval (read cli))))))
+       (secure-block cli (eval (read-from-string (read-line cli)))))))
 
   (defun stop-server ()
     (when socket
index 7010b0965f32bc23941e53181b89fa51d1d58c8a..0785af78cb07b8273216faf180fcd7ca1626584f 100755 (executable)
     `(block secure
        (defun si::universal-error-handler (error-name correctable function-name continue-format-string error-format-string &rest args)
         ,(when output-stream
-           `(format ,output-stream
-                    (cond ((eq error-name :WRONG-TYPE-ARGUMENT) (string error-name))
-                          (t error-format-string))))
+           `(write-line
+             (cond ((eq error-name :WRONG-TYPE-ARGUMENT) (string error-name))
+                   (t error-format-string))
+             ,output-stream))
         (setf (symbol-function 'si::universal-error-handler) ,error-handler)
         (return-from secure))
        (let (result-eval)