public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: binutils@sources.redhat.com
Subject: Re: K&R patch for binutils bfd directory
Date: Thu, 24 Oct 2002 16:20:00 -0000	[thread overview]
Message-ID: <3DB88055.2030807@redhat.com> (raw)
In-Reply-To: <200210242300.g9ON0I9s027161@hiauly1.hia.nrc.ca>

>    if (unit->error)
> -    return 0;
> +    return false;
>  
>    arange = &unit->arange;
>    do
>      {
>        if (addr >= arange->low && addr < arange->high)
> -	return 1;
> +	return true;
>        arange = arange->next;
>      }
>    while (arange);
>  
> -  return 0;
> +  return false;
>  }

Wasn't a BFD things-to-do-today thwack ``true'' and ``false''?  Someone 
is definitly ment to be removing them from bfd.h.

Andrew


  reply	other threads:[~2002-10-24 23:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24 16:00 John David Anglin
2002-10-24 16:20 ` Andrew Cagney [this message]
2002-10-25  7:32   ` `true' and `false'; Was: " Andrew Cagney
2002-10-24 19:12 ` Alan Modra
2002-10-24 19:35   ` John David Anglin
     [not found] <no.id>
2002-10-24 19:42 ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DB88055.2030807@redhat.com \
    --to=ac131313@redhat.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).