[Bug tools/28725] eu-ar -x -N COUNT uses instance [COUNT+1] of name
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Wed Sep 14 19:00:38 GMT 2022
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.
More information about the Elfutils-devel
mailing list