This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] for glibc-2.2 getdents code
>>>>> " " == H J Lu <hjl@valinux.com> writes:
> Thanks for your testcase. But I believe your proposed patch is
> incorrect. It won't work with telldir/seekdir. I think the
> glibc bug is to use the getdents64 system call to implement
> getdents () on a 32bit system. It doesn't make any senses since
> getdents () is a 32bit interface on a 32bit system. Here is a
> patch.
Fair enough. I quite agree that it makes little sense to call
getdents64 for a 32bit interface, and reverting to using the old
interface is certainly a good fix as far as the NFS problem is
concerned.
Cheers,
Trond