Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 24 Jan 2002 15:26:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 24 Jan 2002 15:25:40 -0500 Received: from waste.org ([209.173.204.2]:33956 "EHLO waste.org") by vger.kernel.org with ESMTP id ; Thu, 24 Jan 2002 15:25:31 -0500 Date: Thu, 24 Jan 2002 14:25:25 -0600 (CST) From: Oliver Xymoron To: Alexander Viro cc: Jeff Garzik , Linux-Kernel list Subject: Re: RFC: booleans and the kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Jan 2002, Alexander Viro wrote: > On Thu, 24 Jan 2002, Oliver Xymoron wrote: > > > Because you never test against X==true. You always test X!=false. This is > > the C way. > > ITYM "You always test X". I do indeed, but the bool crowd seems to like making the != explicit for some reason. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/