Changeset 833


Ignore:
Timestamp:
Jun 23, 2004, 10:30:54 AM (20 years ago)
Author:
Gary Byers
Message:

Gary King's fix to FIND-LOAD-FILE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-files.lisp

    r730 r833  
    980980
    981981(defun find-load-file (file-name)
    982   (let ((full-name (full-pathname file-name :no-error nil)))
     982  (let ((full-name (full-pathname file-name :no-error nil))
     983        (kind nil))
    983984    (when full-name
    984985      (let ((file-type (pathname-type full-name)))
     
    997998                  (true-fasl
    998999                   (values true-fasl fasl fasl))
    999                   ((setq full-name (probe-file full-name))
    1000                    (values full-name file-name file-name)))))))))
     1000                  ((and (multiple-value-setq (full-name kind)
     1001                          (let* ((realpath (%realpath (native-translated-namestring full-name))))
     1002                            (if realpath
     1003                              (%probe-file-x realpath ))))
     1004                        (eq kind :file))
     1005                   (values full-name file-name file-name))))))))))
    10011006
    10021007
Note: See TracChangeset for help on using the changeset viewer.