Date: Fri, 29 Jan 1999 20:45:21 -0600 From: Zach Heilig <zach@uffdaonline.net> To: Warner Losh <imp@village.org>, Julian Elischer <julian@whistle.com> Cc: current@FreeBSD.ORG Subject: Re: btokup().. patch to STYLE(9) (fwd) Message-ID: <19990129204521.A73046@znh.org> In-Reply-To: <199901291802.LAA67403@harmony.village.org>; from Warner Losh on Fri, Jan 29, 1999 at 11:02:48AM -0700 References: <Pine.BSF.4.05.9901290941240.304-100000@s204m82.isp.whistle.com> <199901291802.LAA67403@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 29, 1999 at 11:02:48AM -0700, Warner Losh wrote: > Yes. I agree with that. > if (a | b & c % d ^ e) > should have been written as: > if (((a | (b & (c % d))) ^ e) != 0) I don't know why I'm getting into this, but to prove the point that this expression takes careful thought, it is: (a | ((b & (c % d)) ^ e)) (^ is higher precedence than | , according to /usr/share/misc/operator). -- Zach Heilig <zach@uffdaonline.net> / Zach Heilig <zach@gaffaneys.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990129204521.A73046>