On Mon, 17 May 1999, Poul-Henning Kamp wrote:

> 
> In message <xfmail.990516133947....@polstra.com>, John Polstra writes:
> >Revision 1.33 of src/sys/types.h, which changed dev_t to a void * in
> >the kernel, breaks ps and a bunch of other things on the alpha.
> >Since dev_t now has a different size in the kernel than in userland,
> >ps and friends get a "proc size mismatch".
> 
> Uhm...  Ahh...
> 
> change
> 
>       #define udev_t dev_t
> 
> to
> 
>       typedef void            *dev_t;
> 
> and tell me how much that breaks...

If we define udev_t as a uintptr_t then they will both be the same size.

--
Doug Rabson                             Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to