Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 11:27:55 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        John Polstra <jdp@polstra.com>, current@freebsd.org
Subject:   Re: sys/types.h rev. 1.33 breaks ps etc. on alpha 
Message-ID:  <3168.926933275@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 17 May 1999 09:50:42 BST." <Pine.BSF.4.05.9905170950150.509-100000@herring.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

Try it and tell me if it works...

In message <Pine.BSF.4.05.9905170950150.509-100000@herring.nlsystems.com>, Doug
 Rabson writes:
>On Mon, 17 May 1999, Poul-Henning Kamp wrote:
>
>> 
>> In message <XFMail.990516133947.jdp@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:  dfr@nlsystems.com
>Nonlinear Systems Ltd.			Phone: +44 181 442 9037
>
>
>

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


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




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