*BSD News Article 34696


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!dsinc!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!psinntp!tfd!tfd!not-for-mail
From: kent@tfd.com (Kent Hauser)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: FreeBSD 1.1.5 -- Bug in /usr/bin/leave
Date: 20 Aug 1994 16:11:19 -0400
Organization: Twenty-First Designs, Inc., Washington
Lines: 45
Message-ID: <335o17INNneq@sneezy.tfd.com>
References: <NILS.94Aug16025340@guru.stgt.sub.org> <1994Aug17.172837.4215@cs.brown.edu> <NILS.94Aug18045517@guru.stgt.sub.org>
NNTP-Posting-Host: sneezy.tfd.com

In article <NILS.94Aug18045517@guru.stgt.sub.org> nils@ims.uni-stuttgart.de writes:
>In article <1994Aug17.172837.4215@cs.brown.edu> mhw@cs.brown.edu (Mark Weaver) writes:
>> "&&" has higher precedence than "||" in C, even without parentheses.
n>
>Sure, 
>	  a || b || c && d
>is equivalent to
>          (a || b || c) && d 
>nobody doubts that.
>But parenthesis do matter in the expression
>	  a || b || (c && d)
>
>Have you tested the program?
>
>Nils.
>--
>----------------------------------------------------------------
>Cornelis van der Laan -- nils@ims.uni-stuttgart.de





Can't someone revoke this clown's programmer's license. 



Or at least wrap him tightly in parenthesis.

	Kent











-- 
Kent Hauser			UUCP: {uunet,sundc,uupsi}!tfd!kent
Twenty-First Designs		INET: kent@tfd.com
(301) 572-6370