Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 11:50:04 -0800 (PST)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/25833: LOG_FAC() is bogus
Message-ID:  <200103151950.f2FJo4Q62071@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/25833; it has been noted by GNATS.

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Tony Finch <dot@dotat.at>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/25833: LOG_FAC() is bogus
Date: Thu, 15 Mar 2001 21:48:01 +0200

 On Thu, Mar 15, 2001 at 11:57:27AM +0000, Tony Finch wrote:
 > 
 > There was recently a problem with syslogd looping messages that were
 > printed to the console, because of the following code:
 > 	if (LOG_FAC(pri) == LOG_CONSOLE)
 > 		/* blah */;
 > 
 But you can write ``LOG_FAC(pri) == LOG_FAC(LOG_CONSOLE)'' without
 breaking backwards compatibility.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103151950.f2FJo4Q62071>