[fpc-pascal] Unknown usage of function FixPath

Michael Van Canneyt michael at freepascal.org
Tue Aug 14 09:31:32 CEST 2007



On Tue, 14 Aug 2007, Darius Blaszijk wrote:

> In fpmkunit.pp I found the function FixPath for which I don't understand the
> exact purpose of. What happens is that if I issue an install command the
> BaseInstallDir takes the FPCDIR env variable (which is c:\fpc in my case)
> (line 1472). This value is then passed on to FixPath which converts all
> '/','\',':' to PathDelim, so I end up with 'c\\fpc' as base install directory.

Forgot to say that this is obviously a bug, and should be fixed.

Michael.



More information about the fpc-pascal mailing list