[fpc-devel] FindFirst

Micha Nelissen micha at neli.hopto.org
Tue Oct 10 23:04:02 CEST 2006


Hi,

Can the FindFirst optimization in 2.1.1 for unix/sysutils.pp be merged
to 2.0.5 ? Revision 4772. Not only is it more efficient, it also fixes a
bug: I cannot find a single directory with FindFirst in 2.0.5.

Furthermore, attached is a patch for another optimization: do not
allocate a record in case user is requesting info for a single file.
Apply in rtl/unix please.

Thanks,

Micha
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: findfirst-opt.diff
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20061010/5e86457f/attachment.ksh>


More information about the fpc-devel mailing list