[plt-scheme] Disabling the compilation manager for system directories?

Matthew Flatt mflatt at cs.utah.edu
Sun May 4 11:58:04 EDT 2008


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? 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.

Matthew



More information about the plt-scheme mailing list