X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=utils.cl;h=8dc05c1f248461addceb72eeba3fb24c8fdcba42;hb=ce6a1f1bd5f5f8bda724dbf97801b72213baa014;hp=78e37141619d8e1f50ad44be2000dbf24189664c;hpb=d752898c4732adbb8b4c131ec4166a53aac967f8;p=lml.git diff --git a/utils.cl b/utils.cl index 78e3714..8dc05c1 100644 --- a/utils.cl +++ b/utils.cl @@ -1,4 +1,4 @@ -;;; $Id: utils.cl,v 1.3 2002/09/16 02:37:35 kevin Exp $ +;;; $Id: utils.cl,v 1.5 2002/09/16 08:44:09 kevin Exp $ ;;;; ;;;; General purpose utilities @@ -23,7 +23,7 @@ (defun indent-spaces (n &optional (stream *standard-output*)) "Indent n*2 spaces to output stream" - (let ((fmt (format nil "~~~D~~T" (+ n n)))) + (let ((fmt (format nil "~~~DT" (+ n n)))) (format stream fmt))) (defun print-file-contents (file &optional (strm *standard-output*)) @@ -58,7 +58,7 @@ #+gcl (lisp:bye code) #+lispworks (lw:quit :status code) #+lucid (lcl:quit code) - #+sbcl (sb-ext:quit :unix-code (typecase code (number code) (null 0) (t 1))) + #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1))) #-(or allegro clisp cmu cormanlisp gcl lispworks lucid sbcl) (error 'not-implemented :proc (list 'quit code)))