public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug tools/28725] eu-ar -x -N COUNT uses instance [COUNT+1] of name
Date: Wed, 14 Sep 2022 19:00:38 +0000	[thread overview]
Message-ID: <bug-28725-10460-kVbyf6rUCU@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28725-10460@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=28725

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
commit 6cb01b4ef3cdd4f83d21bbcec72fa66712ac14e6
Author: Mark Wielaard <mark@klomp.org>
Date:   Sun Aug 28 17:46:08 2022 +0200

    ar: Correct -N COUNT off-by-one

    When using instance [COUNT], the instance check is wrong.
    instance-- == 0 should be --instance == 0.

    Add a testcase run-ar-N.sh that uses -N COUNT with extract and delete
    operations checking the right instance was extracted and deleted.

    https://sourceware.org/bugzilla/show_bug.cgi?id=28725

    Reported-by: panxiaohe <panxh_ran@163.com>
    Signed-off-by: Mark Wielaard <mark@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      parent reply	other threads:[~2022-09-14 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-25 12:19 [Bug tools/28725] New: " panxh_ran at 163 dot com
2021-12-25 12:20 ` [Bug tools/28725] " panxh_ran at 163 dot com
2022-08-04  0:05 ` panxh_ran at 163 dot com
2022-08-28 15:59 ` mark at klomp dot org
2022-09-14 19:00 ` mark at klomp dot org [this message]

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=bug-28725-10460-kVbyf6rUCU@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=elfutils-devel@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).