Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 01:56:30 +0000
From:      "emaste (Ed Maste)" <phabric-noreply@FreeBSD.org>
To:        freebsd-toolchain@freebsd.org
Subject:   [Differential] [Updated, 49 lines] D1663: elfcopy: Consider program name to start after last -
Message-ID:  <18cb496227f1362cc9d139e917b5f386@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-nbgdr7ksxcaiemfgdu5y-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-nbgdr7ksxcaiemfgdu5y-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
emaste updated this revision to Diff 3417.
emaste added a comment.
This revision now requires review to proceed.

Just compare the end of the program name with strip/mcs rather than looking for a dash. This is the way it's done in FreeBSD ar/ranlib already, and allows names like bsdstrip. Also add a test case.

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D1663?vs=3416&id=3417

REVISION DETAIL
  https://reviews.freebsd.org/D1663

AFFECTED FILES
  elfcopy/main.c
  test/elfcopy/func.sh
  test/elfcopy/tc/strip-basename-1/strip-basename-1.sh

To: emaste, dim
Cc: dim, freebsd-toolchain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18cb496227f1362cc9d139e917b5f386>