Date: Fri, 16 Feb 2001 18:09:25 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Brian F. Feldman" <green@FreeBSD.org> Cc: Warner Losh <imp@harmony.village.org>, arch@FreeBSD.org Subject: Re: The whole libc thing. Message-ID: <Pine.BSF.4.21.0102161801590.2563-100000@besplex.bde.org> In-Reply-To: <200102151558.f1FFwLA21464@green.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Feb 2001, Brian F. Feldman wrote: > My proposition wouldn't break any binary compatibility because it would keep > the FILE structure size the same. This isn't sufficient. fileno() and getc() used to be macros and/or inline functions that knew about the internals of the struct. > The actual contents are _not_ allowed to > be known outside of libc, so anything that gets it wrong after this change > deserves to break in many horrible ways. We don't need a hash lookup > because there is already a _very_ seldom-used field, _up, which can be > absorbed for this purpose. I initially thought _cookie was better, but Your patch works because (hopefully) the field is so seldom used that it wasn't used by the old macros. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102161801590.2563-100000>