public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tristan Gingold <gingold@adacore.com>
To: Alan Modra <amodra@gmail.com>
Cc: binutils Development <binutils@sourceware.org>
Subject: Re: [Patch]: Improve handling of DW_LNE_define_file
Date: Thu, 19 Jan 2012 11:35:00 -0000	[thread overview]
Message-ID: <B8C9DE4A-DA12-4D9A-BDD7-8D03002E4F24@adacore.com> (raw)
In-Reply-To: <20120116221614.GM3708@bubble.grove.modra.org>


On Jan 16, 2012, at 11:16 PM, Alan Modra wrote:

> On Thu, Jan 12, 2012 at 01:05:15PM +0100, Tristan Gingold wrote:
>>                   case DW_LNE_define_file:
>>                     {
>> -                      unsigned int dir_index = 0;
>> +                      file_table = (File_Entry *)
>> +                        xmalloc ((n_files + 1) * sizeof (File_Entry));
> 
> xrealloc.  Otherwise OK.

Argh, silly me.

Fixed, regtested and committed.

Thank you for catching that!

Tristan.

  reply	other threads:[~2012-01-19 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 12:05 Tristan Gingold
2012-01-16 22:16 ` Alan Modra
2012-01-19 11:35   ` Tristan Gingold [this message]
2012-01-19 13:32 ` Michael Eager
2012-01-19 13:53   ` Tristan Gingold
2012-01-19 13:59   ` Tristan Gingold

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=B8C9DE4A-DA12-4D9A-BDD7-8D03002E4F24@adacore.com \
    --to=gingold@adacore.com \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    /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).