Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Greywolf <greywolf@starwolf.com>
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 <greywolf@starwolf.com>
To: Bill Studenmund <wrstuden@NetBSD.org>
Cc: Christos Zoulas <christos@zoulas.com>,
	YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>, gnats-bugs@NetBSD.org,
	port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, tech-userlevel@NetBSD.org
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.
 
 				--*greywolf;
 --