Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <,,>
From: Greywolf <>
List: netbsd-bugs
Date: 06/17/2005 19:41:02
The following reply was made to PR port-xen/29887; it has been noted by GNATS.

From: Greywolf <>
To: Bill Studenmund <>
Cc: Christos Zoulas <>,
	YAMAMOTO Takashi <>,,,,,
Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
Date: Fri, 17 Jun 2005 12:40:13 -0700 (PDT)

 [Thus spake Bill Studenmund ("BS: ") 10:32am...]
 BS: Unfortunately, though, we can't just have a cpp define. The problem is we
 BS: need to test according to the gcc that compiled the program, not the one
 BS: that compiled libc. :-(
 Yeah, there's that, too.  Note that I was NOT advocating a cpp::#define
 (unless it's an "#if 0" that we could easily rip out) -- that's an
 egregious hack to work around an egregious hack.  I was merely suggesting
 that we code around it pro tempore, reverting the code when the compiler
 became unbroken.
 It's not a bad thing to be able to request explicitly, but for
 printf(literal-with-no-formatting) to "upgrade" itself to puts() WITHOUT
 explicitly being requested, though, that's just wrong.