Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <jhawk@MIT.EDU>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 06/21/2005 07:17:11
> I agree with this -- it sounds like any justification for printing
> "(null)" is based on the fact that it is actually used, and there
> is no good reason for fputs() to not have the same checking, other than
> that puts() is rarely called with NULL.
i really think this kind of "suppress coredump" thing is a bad practice.
if you want explicit checks, _DIAGASSERT is for you.
YAMAMOTO Takashi