[PATCH] for glibc-2.2 getdents code

Ulrich Drepper drepper@redhat.com
Wed Feb 21 10:03:00 GMT 2001


"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   `------------------------



More information about the Libc-alpha mailing list