On 26 Mar 14, at 23:05, Mattias Gaertner wrote:
> On Wed, 26 Mar 2014 18:47:06 +0100 (CET)
> Michael Van Canneyt <mich...@freepascal.org> wrote:
> 
> >[...]
> > The compiler does not do anything special: it determines its current 
> > working directory using the RTL, meaning it gets the resolved current 
> > working directory.
> 
> I described the situation from a user's pov.
> Somewhere it should be documented.
> 
> BTW, is there already a RTL function to resolve a file name?
> Using SetCurrentDir is not thread safe.

Is there any problem with ExpandFileName, or do you mean something 
different by "resolving a file name"?

Tomas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to