Peter Dufault wrote:
> Firstly, you should get rid of any explicit 32, 31, etc and anything
> else tied to the assumed number of bits in an int.
You first need to get rid of any code that assumes that siget_t is an
(unsigned) integer. Use macros to abstract the access to the new sigset_t
so that you don't replace one assumption with the other...
> typedef struct {
> unsigned int n;
> uint64_t v;
> } sigset_t;
You can't use any BSD or FreeBSD specific types (such as u_int32)t) in
publicly visible types (such as sigset_t). It breaks programs because it's
not ANSI and/or Posix.
--
Marcel Moolenaar mailto:[EMAIL PROTECTED]
SCC Internetworking & Databases http://www.scc.nl/
The FreeBSD project mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message