Subject: Re: stdio FILE extension
To: MINOURA Makoto <minoura@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-userlevel
Date: 10/13/2001 15:31:32
On Sat, Oct 13, 2001 at 09:53:56AM +0900, MINOURA Makoto wrote:
> 
> |> In <20011013.014025.125131835.yamt@mwd.biglobe.ne.jp>
> |>  YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> wrote:
> 
> > no one is interested in this? ;-)
> > overview:
> > - rename FILE::_ub to _ext.
> > - use FILE::_ext._base to point to file-associated extended
> >   storage. (_ext._size is now unused.)
> > - and use _ext._base->_ub instead of _ub.
> > - extended storage is allocated when FILE itsself is allocated.
> > - fputwc/fgetwc/ungetc/fwide is already implemented using it.
> > - these changes may not break binary compatibility unless
> >   applications use FILE::_ub directly.
> 
> Our another choice would be simply bumping libc major # to
> add the new member to struct __sFILE, without any hacks.
> It's cleaner and easier.

As has been discussed on the project mailing lists over and over:
We can't bumb the libc major number, ever. We would have to bumb all the 
major numbers of all shared libraries - our own and third-party - that 
reference libc (that is, all of them).

Regards,
	-is