public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: "Dmitry V. Levin" <ldv@altlinux.org>
Cc: elfutils-devel@sourceware.org
Subject: Re: [PATCH 2/2] Use xasprintf instead of asprintf followed by error(EXIT_FAILURE)
Date: Thu, 9 Sep 2021 00:19:13 +0200	[thread overview]
Message-ID: <YTk24ZYFygV1/xI6@wildebeest.org> (raw)
In-Reply-To: <20210906100000.GB13778@altlinux.org>

Hi Dmitry,

On Mon, Sep 06, 2021 at 10:00:00AM +0000, Dmitry V. Levin wrote:
> +	* color.c (parse_opt): Replace asprintf followed by error(EXIT_FAILURE)
> +	with xasprintf.

> +	* objdump.c (show_disasm): Replace asprintf followed by
> +	error(EXIT_FAILURE) with xasprintf.
> +	* readelf.c (handle_gnu_hash): Likewise.
> +	* unstrip.c (handle_output_dir_module, main): Likewise.

All these replacements look correct. Please apply.

Thanks,

Mark

  reply	other threads:[~2021-09-08 22:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 10:00 [PATCH 1/2] Introduce xasprintf Dmitry V. Levin
2021-09-06 10:00 ` [PATCH 2/2] Use xasprintf instead of asprintf followed by error(EXIT_FAILURE) Dmitry V. Levin
2021-09-08 22:19   ` Mark Wielaard [this message]
2021-09-08 22:14 ` [PATCH 1/2] Introduce xasprintf Mark Wielaard

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=YTk24ZYFygV1/xI6@wildebeest.org \
    --to=mark@klomp.org \
    --cc=elfutils-devel@sourceware.org \
    --cc=ldv@altlinux.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).