[fpc-devel] [Go32v2] LFN FindFirst bug
Tomas Hajny
XHajT03 at hajny.biz
Thu Mar 1 14:46:51 CET 2012
On Wed, February 29, 2012 18:11, Marco Borsari wrote:
> Il 28/02/2012 23:34, Tomas Hajny ha scritto:
>> Jonas is right, it is no bug. The difference you get between the case
>> of having LFN enabled or not is most likely related to the fact that
>> you search for '*' mask rather than '*.*' in your example. As you
>> might know, '*' matches
>
> I missed that, thank you for the explanation, and Jonas too. Anyway it
> suffices to put $1010 instead of Directory in FindFirst in the release
> version of FPC for listing only dirs in LFN mode.
Correct, but it is just a coincidence (as opposed to the situation with
SysUtils.FindFirst, where it is part of the specification).
Tomas
More information about the fpc-devel
mailing list