[fpc-pascal] fpc in symlinked directory

Marco van de Voort marcov at stack.nl
Wed Mar 26 11:53:08 CET 2014


In our previous episode, Mattias Gaertner said:
> > 
> > It's a hack ?
> 
> AFAIK the PWD is the official thing and used by other console tools as
> well.

afaik:

1) it is an official thing only of the shell, not the "system".
2) it assumes that any program doesn't change paths inbetween.
   (either the executed program before pwd test, or sh->exe1->exe2
   scenarios, excluding freak stuff like daemons)




More information about the fpc-pascal mailing list