[fpc-devel]Linux readdir syscall is superseded by getdents

Peter Vreman peter at freepascal.org
Sun Apr 4 20:52:02 CEST 2004


> Hello all,
>
> I'm new to this list and I coudn't find out how to send in patches so i do
> it here...
>
> On my system FPC doesn't work because the fpreaddir-function failes on
> larger directories. I saw that fpreaddir still uses the linux
> readdir-call, wich is superseded by getdents. (also the comments are
> wrong. The result of the readdir-call isn't the amount of bytes
> read. That's only the case by the getdents-call)

I'll test/apply the patch after 1.9.4 is released






More information about the fpc-devel mailing list