Re: Bugfix 2591 please commit


Subject: Re: Bugfix 2591 please commit
From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Sun Feb 03 2002 - 20:12:50 CST


On Fri, Feb 01, 2002 at 08:31:03PM -0500, Robert Altenburg wrote:
> On Fri, 2002-02-01 at 00:28, Patrick Lam wrote:
> > My proposed fix also keeps the tree working. What it would do is
> > to assert that sz is non-null, and then it would set sz to 0.0in
> > if it is, in fact, null.
>
> I was thinking "crash" as in "hit the assert and stop working until
> you respond" as opposed to "segfault". Unless the user looked at the
> console msg, it would appear like the app freezed wouldn't it?

No, it would not. UT_ASSERT is there precisely for situations like this,
so you should use it. It only stops the application in debug mode, not
in release mode.

I will commit the UT_ASSERT fix.

pat



This archive was generated by hypermail 2b25 : Sun Feb 03 2002 - 20:13:01 CST