[plt-scheme] Disabling the compilation manager for system directories?
On May 4, Matthew Flatt wrote:
> At Sun, 4 May 2008 11:34:38 -0400, Eli Barzilay wrote:
> > * However -- and this is the bug -- (find-system-path 'exec-file)
> > returns the location of the link instead of the actual file.
>
> Why is that a bug?
(I should have added a "(possibly a documentation bug)" there...)
> If mzscheme is started via a soft link, the result of
> `(find-system-path 'exec-file)' should be the soft link.
>
> And it's ok for `(find-system-path 'collects-dir)' to return a result
> relative to the binary.
>
> The results of `(find-system-path 'exec-file)' and `(find-system-path
> 'collects-dir)' should be combined using `find-executable-path', which
> follows soft links appropriately.
So it is a documentation bug, IMO -- I didn't understand that from
If this path is relative, it's relative to the directory of
@scheme[(find-system-path 'exec-file)].
I'd expect something like "... or what it resolves to if it's a
symbolic link."
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!