This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] for glibc-2.2 getdents code
"H . J . Lu" <hjl@valinux.com> writes:
> If you want to get d_type, use getdents64, but not getdents. It is
> the same as LFS. You can only get the right information with the
> right interface.
There is no inherent problem with using the getdents64 syscall
everywhere. No point to punish existing applications.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------