[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, 05 Jan 2022 01:55:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260523
--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=df898828a4dc585d5be65ac710dbe0fdf9d7b3b9
commit df898828a4dc585d5be65ac710dbe0fdf9d7b3b9
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-12-29 19:59:06 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-01-05 01:54:04 +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
(cherry picked from commit edadbb46065d9ee9559140b2522197fcdba57064)
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.