DT_WHT and S_IFWHT
Rodrigo Barbosa (aka morcego)
rodrigob@conectiva.com.br
Tue Aug 22 13:57:00 GMT 2000
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
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5oulHn5NdOMMM/nERAgFrAJ4r7phj+Shjc7sJS21ASXFJRjNSqwCfTcfg
Z0M0PK//7QWl33urgn7172g=
=EvC3
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list