[fpc-devel] ExpandFilename bug?
Tomas Hajny
XHajT03 at hajny.biz
Wed Feb 16 18:54:35 CET 2011
On Wed, February 16, 2011 17:34, Joost van der Sluis wrote:
Hi Joost,
> ExpandFileName('c:\pp') on windows returns the current directory. Is
> this 'as designed' or a bug? ('c:\pp' does exist)
I've just tried it and cannot reproduce it (2.4.2). I created 'pp' as both
directory and a file, and it always returns 'C:\pp' (btw, the same results
is returned if c:\pp does not exist which is also OK). I also tried
different starting locations but that had no impact either. Did you try
with a different version or can you provide more details?
Tomas
More information about the fpc-devel
mailing list