Skip to content

readlink: the last of -e / -f / -m should win #15995

Description

@sylvestre
$ readlink -e --canonicalize missing; echo $?

GNU prints $PWD/missing and exits 0 (-f came last). uutils prints nothing and exits 1, so -e wins.

Same for readlink --canonicalize-existing --canonicalize-missing x.

Reported in #15254 (found by a differential fuzzer; reproduced against GNU coreutils 9.12).

Activity

  1. added a commit that references this issue on Nov 17, 2026
    59f4390
  2. added a commit that references this issue on Nov 18, 2026
    974e940
  3. added 2 commits that reference this issue on Nov 19, 2026
    93e943c
    f61f2af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions