Skip to content
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

Inform 7 IDE fails to follow symlinks to extensions or interpreter templates #10

Open
weaversam8 opened this issue Nov 11, 2021 · 1 comment

Comments

@weaversam8
Copy link

This might be a bug in the compiler, but during extension development, I symlinked an extension to the correct location (from my repo, which was elsewhere on my system) and it wasn't recognized during compilation. The same error also occurred when I symlinked an interpreter directory in the *.materials/Templates subfolder.

@ganelson
Copy link

It doesn't seem likely that this is an IDE issue.

It may arise because the code in Directories::listing(P) in Chapter 3 of the foundation module does not distinguish between symlinks and regular files. It's not altogether easy to change that assumption, though, because the users of this function assume that they can form a valid path by forming P/leafname on any leafname they find as a result of running, in effect, readdir on P. I might still expect that to work, though, if the symlink is sensibly named? Presumably fopen, for example, works when given a path that goes through a symlink?

I'm not sure what if anything it's sensible to do about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants