Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: [RFA] Replace strdup with xstrdup in tic30-dis.c
@ 2002-11-26 16:23 Doug Evans
  0 siblings, 0 replies; 22+ messages in thread
From: Doug Evans @ 2002-11-26 16:23 UTC (permalink / raw)
  To: ac131313; +Cc: binutils, gdb

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?


^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <555D137A-FB43-11D6-84AF-00039396EEB8@apple.com>]

end of thread, other threads:[~2002-11-29 12:02 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-26 16:23 [RFA] Replace strdup with xstrdup in tic30-dis.c Doug Evans
     [not found] <555D137A-FB43-11D6-84AF-00039396EEB8@apple.com>
     [not found] ` <20021119071305.GM997@bubble.sa.bigpond.net.au>
2002-11-19  8:26   ` Andrew Cagney
2002-11-19 13:42     ` Alan Modra
2002-11-19 14:09       ` Andrew Cagney
2002-11-19 18:05         ` Klee Dienes
2002-11-20  8:05           ` Andrew Cagney
2002-11-20 15:09             ` Alan Modra
2002-11-20 22:56               ` Klee Dienes
2002-11-26 14:03                 ` Andrew Cagney
2002-11-26 14:37                   ` Alan Modra
2002-11-26 15:28                     ` Ian Lance Taylor
2002-11-26 15:57                       ` Alan Modra
2002-11-26 16:15                         ` Andrew Cagney
2002-11-27 16:44                         ` Hans-Peter Nilsson
2002-11-27 21:55                           ` Ian Lance Taylor
2002-11-28 14:39                             ` Alan Modra
2002-11-28 15:23                               ` Andrew Cagney
2002-11-28 21:04                                 ` Alan Modra
2002-11-29  0:41                                   ` Doug Evans
2002-11-29  4:02                                     ` Ben Elliston
2002-11-26 15:58                       ` Klee Dienes
2002-11-27 11:37             ` David O'Brien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox