[fpc-pascal]Find*-Bug

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sat Dec 9 14:05:10 CET 2000


On Sat, 9 Dec 2000, Florian Klaempfl wrote:

> 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?

It's fixed. (finally, I hope)

Michael.





More information about the fpc-pascal mailing list