-
Notifications
You must be signed in to change notification settings - Fork 77
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
Symlinks to directories in local-projects cause infinite loop with LispWorks #226
Comments
Thanks for the report. I think I have a PR somewhere to fix it. I'll try to
find it.
…On Tue, Oct 17, 2023 at 7:35 AM Tim Bradshaw ***@***.***> wrote:
If you create a symlink to a directory in the QL local-projects
directory, then LispWorks will loop indefinitely when looking for *.asd
files.
To reproduce (I can only try this on macOS):
1. create some directory outside the local-projects tree, say /tmp/zzz;
2. in local-projects do ln -s /tmp/zzz zzz, and remove the system
index file;
3. (ql:list-local-systems) will now loop.
This is fairly obviously because of some confusion around getting the
contents of directories containing links to other directories: there's a
lot of implementation-specific code there. I've had a brief look at it but
I don't understand it in detail yet. Since I have LW I will try to poke at
it further and work out a fix.
—
Reply to this email directly, view it on GitHub
<#226>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPNLO3EO262JR4WVMCXLLX7ZUOXAVCNFSM6AAAAAA6DV7X32VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DOMRQGMYTINI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I think the existing PR is #222. I've just submitted #227 which I think may be better: it doesn't have problems with packages (I don't think #222 will compile in implementations other than LW as is) and it doesn't need to be conditionalized on LW version. I've tested this against SBCL, LW (8) and CCL. I think a longer-term solution might be to define a |
If you create a symlink to a directory in the QL
local-projects
directory, then LispWorks will loop indefinitely when looking for*.asd
files.To reproduce (I can only try this on macOS):
local-projects
tree, say/tmp/zzz
;local-projects
doln -s /tmp/zzz zzz
, and remove the system index file;(ql:list-local-systems)
will now loop.This is fairly obviously because of some confusion around getting the contents of directories containing links to other directories: there's a lot of implementation-specific code there. I've had a brief look at it but I don't understand it in detail yet. Since I have LW I will try to poke at it further and work out a fix.
The text was updated successfully, but these errors were encountered: