Subject: Re: stdio FILE extension
To: MINOURA Makoto <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 10/13/2001 15:31:32
On Sat, Oct 13, 2001 at 09:53:56AM +0900, MINOURA Makoto wrote:
> |> In <email@example.com>
> |> YAMAMOTO Takashi <firstname.lastname@example.org> 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).