[fpc-pascal] FindFirst FindNext

Graeme Geldenhuys graemeg.lists at gmail.com
Fri May 1 17:17:34 CEST 2009


On Fri, May 1, 2009 at 11:55 AM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> I thought the file attributes are ignored under linux, but apparently
> they are not.
> Is it normal, that FindNext returns a file twice?

And sometimes even more than twice as the following output shows
(using the code you posted).  This is the exact behaviour I get with
TFileListBox and "File Browser" lazarus add-on.

======================
/tmp $ ./testfindnext
libgksu-B6XiRP
libgksu-B6XiRP
libgksu-B6XiRP
testfindnext.o
project1.rc
unit1.ppu
unit1.ppu
project1.manifest
vmc-conn.lock
ssh-oviXuy7045
orbit-graemeg

======================


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list