On Tue, Mar 25, 2008 at 02:24:48PM -0400, rgheck wrote:
> rgheck wrote:
>>
>> Or are there some that don't need it? or want it?
>>
> Here's the point of the question. There are surely still places in the code 
> where insets get constructed and their buffers don't get set. We can hunt 
> these down one crash at a time and probably still miss some or we can do 
> something more general. The way to do the latter would seem to be to 
> change:
>    /// Constructor
>    explicit Inset() : buffer_(0) {}
> to     explicit Inset::Inset(Buffer const & buf) : 
> buffer_(const_cast<Buffer *>(&buf)) {}
> and then every Inset will HAVE to set its Buffer. Making that work seems to 
> be just a matter of making it compile.

It's a bit more than that as I mentioned. lib/symbols e.g. is read
fairly early _and_ creates insets...

Andre'

Reply via email to