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 _______________________________________________ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"