[Lazarus] FileExistsUTF8 and long paths

Ondrej Pokorny lazarus at kluug.net
Sat Jan 16 14:30:35 CET 2016


On 16.01.2016 14:01, Jürgen Hestermann wrote:
> I have found this issue the hard way as I checked for file existence in
> my program and it reported false although the file existed.
> So I overwrote it. IMO this is a bug.
> A function that claims to check for file existence should be as reliable
> as possible and not have some obscure side effects.

Yes, it can bite every one of us at some point.
It has to be solved in a backwards-compatible way, though.

Please report to mantis.

Ondrej




More information about the Lazarus mailing list