mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 07:30:55 -08:00
TRUENAME will fail if the file does not exist
This commit is contained in:
parent
2624a02fc2
commit
abe8ae3e85
1 changed files with 2 additions and 2 deletions
|
|
@ -579,7 +579,7 @@
|
|||
(dolist (p directories)
|
||||
(dolist (n names)
|
||||
(dolist (e types)
|
||||
(let ((full-path (truename (make-pathname
|
||||
(let ((full-path (probe-file (make-pathname
|
||||
:device d
|
||||
:directory (etypecase p
|
||||
(pathname (pathname-directory p))
|
||||
|
|
@ -587,7 +587,7 @@
|
|||
(list p))
|
||||
:name n
|
||||
:type e))))
|
||||
(when (probe-file full-path)
|
||||
(when full-path
|
||||
(return-from find-foreign-library full-path))
|
||||
)))))
|
||||
nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue