Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 1997 05:07:11 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, proff@suburbia.net
Cc:        hackers@freebsd.org
Subject:   Re: grp.h
Message-ID:  <199701311807.FAA27476@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >It also looks like pwd.h also declares the uid and gid as ints
>> >instead of using the typedefs.
>> 
>> Similarly, except <pwd.h> already pollutes the namespace by including
>> <sys/types.h>.

>See my pr for a numner of include fixes, this being one of them.

They pollute the namespace unacceptably (to me).  Otherwise I would
have made some of them years ago.

Has anyone (except the authors :-)  looked closely at glibc-2.0?  Old
versions were careful to a fault about namespaces (IIRC they did things
like including features.h multiple times to get one name each time).
Old Linux headers have an ugly combination of carefulness for gnu
features and sloppiness for Linux features.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701311807.FAA27476>