Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 17:51:07 -0500 (EST)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        jhb@freebsd.org
Cc:        arch@freebsd.org
Subject:   Re: Cleaning up FILE in stdio..
Message-ID:  <200802262251.m1QMp7bV021709@hergotha.csail.mit.edu>
In-Reply-To: <200802261524.30384.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200802261524.30384.jhb@FreeBSD.org> you write:

>This is assuming that the contents and layout of FILE are not a
>public ABI (i.e. we malloc the things internally and consumers should
>just treat the pointer value as a cookie and not grub around in the
>internals).

Most interpreted languages grub around in the internals, as
(historically) do a number of <stdio.h> macros.  Historically Emacs
did so as well (I suppose you can call it an interpreted language).

>Comments?

I think you have the right idea but this will break the ABI in a way
that can't be fudged with symbol versioning.

-GAWollman

-- 
Garrett A. Wollman   | The real tragedy of human existence is not that we are
wollman@csail.mit.edu| nasty by nature, but that a cruel structural asymmetry
Opinions not those   | grants to rare events of meanness such power to shape
of MIT or CSAIL.     | our history. - S.J. Gould, Ten Thousand Acts of Kindness



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