[fpc-devel] ExpandFilename bug?

Tomas Hajny XHajT03 at hajny.biz
Wed Feb 16 19:06:48 CET 2011


On Wed, February 16, 2011 19:04, Mattias Gaertner wrote:
> On Wed, 16 Feb 2011 17:34:01 +0100
> Joost van der Sluis <joost at cnoc.nl> wrote:
>
>> Hi all,
>>
>> ExpandFileName('c:\pp') on windows returns the current directory. Is
>> this 'as designed' or a bug? ('c:\pp' does exist)
>
> This returns the current directory:
> ExpandFileName('')

Yes, this is the expected behaviour.

Tomas





More information about the fpc-devel mailing list