From owner-freebsd-current Fri Jan 29 18:43:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA00151 for freebsd-current-outgoing; Fri, 29 Jan 1999 18:43:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from k6n1.znh.org ([207.109.235.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA00146 for ; Fri, 29 Jan 1999 18:43:21 -0800 (PST) (envelope-from zach@uffdaonline.net) Received: (from zach@localhost) by k6n1.znh.org (8.9.1/8.9.1) id CAA73886; Sat, 30 Jan 1999 02:45:21 GMT (envelope-from zach) Message-ID: <19990129204521.A73046@znh.org> Date: Fri, 29 Jan 1999 20:45:21 -0600 From: Zach Heilig To: Warner Losh , Julian Elischer Cc: current@FreeBSD.ORG Subject: Re: btokup().. patch to STYLE(9) (fwd) References: <199901291802.LAA67403@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199901291802.LAA67403@harmony.village.org>; from Warner Losh on Fri, Jan 29, 1999 at 11:02:48AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Heilig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message