This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: DT_WHT and S_IFWHT
On Tue, Aug 22, 2000 at 01:49:56PM -0700, Ulrich Drepper wrote:
> "Rodrigo Barbosa (aka morcego)" <rodrigob@conectiva.com.br> writes:
>
> > glibc 2.1.92 cvs from noon.
> >
> > dirent.h defines DT_WHT, but sys/types.h does not define S_IFWHT
>
> Why not? The kernel has no support for it but internally already
> reserves the bits.
One of us is not understanding the other, I'm sure of that :-)
Both dirent.h and sys/types.h are from glibc, not from the kernel.
What I think is the problem is an inconsistency. If glibc defines
DT_WHT on dirent.h, shouldn't it also define S_IFWHT on types.h ?
As far as I can tell, ditent.h comes from glibc/dirent/dirent.h,
and types.h comes from glibc/posix/sys/types.h.
[]s
--
/* Rodrigo Barbosa - A.K.A. morcego */
/* rodrigob@conectiva.com.br - Conectiva R&D Team */
/* "Quis custodiet custodias?" - Juvenal */
PGP signature