>>> 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
>
> I think this is a critical bug. I've also got lots of troubles with the
> Linux compiler lately: it often gets in an endless loop. When I strace
> it, you can see it keeps fstat'ing "." and ".." in succession, without
> ever going to the next item. So it's probably related to this bug.

When it is really a showstopper it would have been popped up earlier. I've
run the compiler under all linux kernels upto 2.6.5-rc2 (including some
x86_64 kernels) with ext3 filesystem without problems. So the readdir
syscall is still fully supported.

And with changes like this short before a release there is always someone
called Murphy that would popup...


_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to