Michael Haubenwallner wrote:
>> It is because readdir() returns 0 (zero) for (struct dirent).(d_ino),
>> while stat() returns useful values for (struct stat).(st_ino), so their
>> equal-comparison never succeeds.
>
> Attached patch should fix this issue, not relying on readdir() returning
> valid d_ino, but doing stat() always instead.
You didn't attach one.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/