You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNU readlink uses whichever of -e, -f and -m appears last. uutils
let -e always take precedence, so readlink -e -f path behaved like -e
even though -f came last.
Declare the three options as overriding each other so the last one wins, and
add a test covering both orderings of -e and -f.
CI note (infrastructure issue, not related to the change in this PR):
The Tests job failed in the Doc-tests uucore step. The uucore unit tests themselves passed; the doctest compile then failed with error: extern location for ... does not exist: .../target/debug/deps/*.rlib and error[E0463]: can't find crate for ... (27–29 errors). The dependency .rlib files are missing from the restored target cache used by this run. The same failure is currently occurring on several unrelated PRs, so it is a repository CI/cache problem rather than this change. Re-running the job with a fresh build/cache rebuilds the artifacts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GNU
readlinkuses whichever of-e,-fand-mappears last. uutilslet
-ealways take precedence, soreadlink -e -f pathbehaved like-eeven though
-fcame last.Declare the three options as overriding each other so the last one wins, and
add a test covering both orderings of
-eand-f.Closes #15995