[fpc-pascal]Find*-Bug
Florian Klaempfl
Florian.Klaempfl at gmx.de
Sat Dec 9 11:49:18 CET 2000
At 20:37 08.12.2000, you wrote:
>Hi,
>
>On Fri, 8 Dec 2000, j.urban wrote:
>
> >It shouldn't always return everything, it's returning directories and
> >'.' and '..' ARE directories. If you specify faDirectory, '.' and '..'
> >SHOULD be found as directories. If files are also returned, then you
> >might have a different problem...
>
>So, if I use
>
>findfirst('*.*',faAnyFile - faDirectory,sr), or, if you mind
>findfirst('*.*',faAnyFile and not(faDirectory),sr), then, imho, the
>function should not search for directories. If it does, the declaration of
>attributes is sensless.
>
>Or is there something wrong in my thougts?
No, you're right there must be still a bug in findfirst. Michael?
More information about the fpc-pascal
mailing list