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

2004-04-05 Thread Jonas Maebe
On 5 apr 2004, at 08:29, Florian Klaempfl wrote: 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

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

2004-04-04 Thread Florian Klaempfl
Peter Vreman wrote: 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

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

2004-04-04 Thread Peter Vreman
>>> 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

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

2004-04-04 Thread Jonas Maebe
On 4 apr 2004, at 20:52, Peter Vreman wrote: 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 amo

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

2004-04-04 Thread Peter Vreman
> 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 t