[Bug 260523] [exp-run] ar with -T option disabled
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 260523] [exp-run] ar with -T option disabled"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Dec 2021 20:15:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260523
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=edadbb46065d9ee9559140b2522197fcdba57064
commit edadbb46065d9ee9559140b2522197fcdba57064
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-12-29 19:59:06 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-12-29 20:14:06 +0000
ar: deprecate -T option
Other ar implementations (GNU, LLVM) use -T to mean thin archive
rather than use only the first fifteen characters of the archive member
name. We support both -T and -f for this, with -f documented as an
alias of -T.
An exp-run showed that the ports invoking `ar -T` expect thin archives,
not truncated names. Switch -f to be the documented flag for this
behaviour, and emit a warning when -T is used.
The warning will be changed to an error in the future (in main), once
ports no longer use -T.
PR: 260523 [exp-run]
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
usr.bin/ar/ar.1 | 14 +++++++++-----
usr.bin/ar/ar.c | 6 +++++-
2 files changed, 14 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.