Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Jason Thorpe <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 06/21/2005 19:50:02
The following reply was made to PR port-xen/29887; it has been noted by GNATS.
From: Jason Thorpe <thorpej@shagadelic.org>
To: Greywolf <greywolf@starwolf.com>
Cc: John Hawkinson <jhawk@MIT.EDU>,
YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>, gnats-bugs@NetBSD.org,
port-xen-maintainer@NetBSD.org, netbsd-bugs@NetBSD.org,
tech-userlevel@NetBSD.org
Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
Date: Tue, 21 Jun 2005 12:49:46 -0700
On Jun 21, 2005, at 3:14 AM, Greywolf wrote:
> With regard to "(null)" vs. "Bus error (Core dumped).", that
> doesn't matter
> to me, other than being a potential nicety. What matters to me is the
> compiler is pretending it knows what I want, even though I am not
> asking
> for it. It's like walking into a shop and asking for a ham and
> jack sandwich
> and getting mortadella and mozzarella. Sure, it might be "better",
> but
> it's not what I expected, much less what I asked for.
When you called printf() (or puts(), for that matter), you have, by
definition, asked for the standards-described effect.
If you want to depend on extensions, then you should call an API that
explicitly provides them, period!
-- thorpej