On Sat, 2007-12-22 at 10:13 -0500, Chet Ramey wrote:
> 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
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