[fpc-pascal] FindFirst FindNext

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 1 18:05:58 CEST 2009


On 01 May 2009, at 17:52, Mattias Gaertner wrote:

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

It's fixed in r13074. It will slow down things slightly if you don't  
use wildcards, since some memory is now allocated and released for the  
non-wildcard searches (whereas this previously was not the case).


Jonas



More information about the fpc-pascal mailing list