Skip to content

Symlinks to directories in local-projects cause infinite loop with LispWorks #226

Description

@tfeb

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions