Skip to content

Follow symbolic links in LispWorks 8 and newer #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions quicklisp/impl-util.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,15 @@ quicklisp at CL startup."
(directory (merge-pathnames *wild-entry* directory)
#+scl :truenamep #+scl nil))
(:implementation lispworks
(directory (merge-pathnames *wild-entry* directory)
#+lispworks :directories #+lispworks t
#+lispworks :link-transparency #+lispworks nil))
;; In LispWorks 8.0 and newer, if the file-namestring of pathname is a symbolic link pointing
;; to a directory and link-transparency is nil, then directory returns it as a file.
#-(or lispworks4 lispworks5 lispworks6 lispworks7)
(when (hcl:file-link-p directory)
(setf directory (make-pathname :directory (append (pathname-directory directory)
(list (file-namestring directory))))))
(directory (merge-pathnames *wild-entry* directory)
#+lispworks :directories #+lispworks t
#+lispworks :link-transparency #+lispworks nil))
(:implementation ecl
(nconc
(directory (merge-pathnames *wild-entry* directory)
Expand Down