> > 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. > > That's sounds like this bug, yes. I had that problem also. But I can > imagine that patching so close before a release can give some problems... > > A good test is to run the following program from /usr/lib (or another > LARGE directory.) Maybe Peter could try that once with a new kernel? > > --- > program test_readdir; > > var str : string; > > begin > getdir(0,str); > writeln(str); > end.
Getdir is indeed a function that would provoke the ../ ./ alternate searching behaviour in strace that Jonas described, if something was wrong with readdir. _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
