Subject: Re: stdio FILE extension
To: Jason R Thorpe <>
From: Todd Vierling <>
List: tech-userlevel
Date: 10/19/2001 17:08:59
On Fri, 19 Oct 2001, Jason R Thorpe wrote:

: So, really, I'd change _ub to be like this:
: 	union {
: 		struct __sbuf _ubu_ub;
: 		void *_ubu_intcookie;
: 	} _ub_u;
: to really insure that we break compilation of apps that use _ub.

...if so, please test that this change doesn't affect the sizeof(FILE) on
LP64, such as alpha.  Because __sbuf is 96 bits on LP64, this *could* (but
not necessarily will) change alignment of the following struct element,
which is 32 bits wide.

-- Todd Vierling <>  *  Wasabi NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --