Re: savecore(8) increments /var/crash/bounds on each boot

From: Doug White <dwhite_at_gumbysoft.com>
Date: Thu, 16 Jun 2005 12:12:02 -0700 (PDT)
On Wed, 15 Jun 2005, Ed Maste wrote:

> On Tue, Jun 14, 2005 at 07:36:00PM -0700, David O'Brien wrote:
>
> > Do you understand the fix?  How does lying in printheader() fix anything?
> > Moving the call to getbounds() back to the original location is the "fix"
> > but then it negates -vv.  We shouldn't lie in printheader().
>
> Fair enough, on dwhite's suggestion here's another try that splits the
> increment-and-write out from getbounds() so that the bounds value can
> be shown with -vv.

Looks good to me, although I won't pass any verdict on style(9)isms. :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Thu Jun 16 2005 - 17:12:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC