HomeFreeBSD

ar: deprecate -T option

Description

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)

Details

Provenance
emasteAuthored on Dec 29 2021, 7:59 PM
Parents
rGbc98adaf6a93: Check cpu_softc is not NULL before dereferencing
Branches
Unknown
Tags
Unknown