X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=impl.lisp;h=a6d6897bd7551a465573dbd220970e31aa25bdcc;hb=5c5adb1297021e440fa4943ef996c59ed9681178;hp=52193ab12880360d0e638fa16c7b266c2327b7f6;hpb=03712fbb06acbb103602bae10f41aeae7fa05127;p=kmrcl.git diff --git a/impl.lisp b/impl.lisp index 52193ab..a6d6897 100644 --- a/impl.lisp +++ b/impl.lisp @@ -7,8 +7,6 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Sep 2003 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; ;;;; KMRCL users are granted the rights to distribute and use this software @@ -51,9 +49,12 @@ path) #+lispworks (when (lw:file-directory-p path) path) - #+sbcl (when (eq :directory - (sb-unix:unix-file-kind (namestring path))) - path) + #+sbcl + (let ((file-kind-fun + (or (find-symbol "NATIVE-FILE-KIND" :sb-impl) + (find-symbol "UNIX-FILE-KIND" :sb-unix)))) + (when (eq :directory (funcall file-kind-fun (namestring path))) + path)) #-(or allegro clisp cmu lispworks sbcl scl) (probe-file path))) (if probe @@ -104,7 +105,7 @@ #+gcl (lisp:bye code) #+lispworks (lw:quit :status code) #+lucid (lcl:quit code) - #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1))) + #+sbcl (sb-ext:exit :code (typecase code (number code) (null 0) (t 1))) #+mcl (ccl:quit code) #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl) (error 'not-implemented :proc (list 'quit code)))