[fpc-pascal] FindFirst FindNext

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 1 17:52:22 CEST 2009


On Fri, 1 May 2009 17:43:48 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> On 01 May 2009, at 11:55, Mattias Gaertner wrote:
> 
> > I thought the file attributes are ignored under linux, but
> > apparently they are not.
> 
> They are currently ignored if you do not use wildcards, otherwise
> they are used. I'm tested a fix to change that so that they are
> always used.

Thanks. I hope this will not slow down things. I have some programs
that scan directories with millions of files. (Don't ask)

 
> > Is it normal, that FindNext returns a file twice?
> 
> No.
> 
> > With faAnyFile every file is listed only once.
> 
> I'm testing a fix for this as well.

No need to fix faAnyFile. I like the only once. ;)

Mattias



More information about the fpc-pascal mailing list