From: Ian Lance Taylor <ian@airs.com>
To: Hans-Peter Nilsson <hp@bitrange.com>
Cc: Andrew Cagney <ac131313@redhat.com>,
David Carlton <carlton@math.stanford.edu>,
gdb <gdb@sources.redhat.com>, <binutils@sources.redhat.com>
Subject: Re: gdb.mi/mi-cli.exp failures
Date: Tue, 01 Apr 2003 01:38:00 -0000 [thread overview]
Message-ID: <m3smt3f13r.fsf@gossamer.airs.com> (raw)
In-Reply-To: <Pine.BSF.4.44.0303312003040.58143-100000@dair.pair.com>
Hans-Peter Nilsson <hp@bitrange.com> writes:
> On Mon, 31 Mar 2003, Andrew Cagney wrote:
> > And this:
> >
> > > - return concat (filename);
> > > + return filename;
> >
> > (remembering that the patch is backwards) doesn't look so good. It
> > should be:
> >
> > concat (filename, NULL);
> >
> > perhaps
> >
> > xstrdup (filename)
> >
> > would be easier to read :-)
>
> \begin{chant} There must be no xstrdup calls in bfd. BFD must
> not abort; it's a library and the caller must handle allocation
> failures. There may be xstrdup calls in bfd already, but please
> don't add new ones. \end{chant}
Could use strdup, though, not that I know the context here.
Ian
next prev parent reply other threads:[~2003-04-01 1:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-31 19:35 David Carlton
2003-03-31 20:22 ` Andrew Cagney
2003-03-31 21:08 ` Andrew Cagney
2003-03-31 21:20 ` Andrew Cagney
2003-04-01 1:09 ` Hans-Peter Nilsson
2003-04-01 1:38 ` Ian Lance Taylor [this message]
2003-04-01 10:18 ` Nick Clifton
2003-04-01 15:08 ` Andrew Cagney
2003-04-01 15:18 ` Daniel Jacobowitz
2003-04-01 16:22 ` Andrew Cagney
2003-04-01 16:34 ` Daniel Jacobowitz
2003-04-01 17:01 ` Andrew Cagney
2003-04-01 18:03 ` Daniel Jacobowitz
[not found] ` <m31y0mxk8i.fsf@workshop.nickc.cambridge.redhat.com>
2003-04-01 17:09 ` Andrew Cagney
2003-04-01 18:23 ` Daniel Jacobowitz
2003-04-02 17:06 ` Nick Clifton
2003-04-02 17:13 ` Daniel Jacobowitz
2003-04-02 17:21 ` Ian Lance Taylor
2003-04-02 17:28 ` Daniel Jacobowitz
2003-04-02 17:44 ` Ian Lance Taylor
2003-04-02 18:05 ` Daniel Jacobowitz
2003-04-02 20:39 ` Ian Lance Taylor
2003-04-02 20:38 ` Daniel Jacobowitz
2003-04-02 20:53 ` Ian Lance Taylor
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=m3smt3f13r.fsf@gossamer.airs.com \
--to=ian@airs.com \
--cc=ac131313@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=carlton@math.stanford.edu \
--cc=gdb@sources.redhat.com \
--cc=hp@bitrange.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