X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=impl.lisp;h=7135eb0e4ea1005b97aa420de3bf743bfe4574c6;hp=52193ab12880360d0e638fa16c7b266c2327b7f6;hb=54cd6cb1b9550ac2310e2c6dffc9cdecd2bdccd3;hpb=03712fbb06acbb103602bae10f41aeae7fa05127 diff --git a/impl.lisp b/impl.lisp index 52193ab..7135eb0 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