From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21962 invoked by alias); 27 Nov 2002 00:23:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21942 invoked from network); 27 Nov 2002 00:23:42 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 27 Nov 2002 00:23:42 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id QAA31974; Tue, 26 Nov 2002 16:23:37 -0800 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma031968; Tue, 26 Nov 02 16:23:25 -0800 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id gAR0NTR23712; Tue, 26 Nov 2002 16:23:29 -0800 (PST) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id QAA11244; Tue, 26 Nov 2002 16:23:29 -0800 Date: Tue, 26 Nov 2002 16:23:00 -0000 Message-Id: <200211270023.QAA11244@casey.transmeta.com> From: Doug Evans To: ac131313@redhat.com cc: binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: [RFA] Replace strdup with xstrdup in tic30-dis.c X-SW-Source: 2002-11/txt/msg00381.txt.bz2 Andrew writes: > In C, there is zero and non-zero. There is no true or false. > > What ever the function's type, its the avoidance of: > > if (bfd_foo_p() == TRUE) > > that is important. s/There is no true or false./There is only false and !false./ I like bfd_boolean, though recognizing the pitfalls of foo_p() == TRUE is important. What if one didn't define TRUE and instead defined CANONICAL_TRUE?