HomeFreeBSD

realpath: Belatedly document POSIX conformance

Description

realpath: Belatedly document POSIX conformance

We've been mostly POSIX-conforming since r236400 and fully since r240410,
which fixed a corner case where a missing non-leaf directory would be
reported as ENOTDIR instead of ENOENT.

Sponsored by: Klara, Inc.
Fixes: 7877ed7ce33e ("Avoid mapping ENOENT to ENOTDIR for non-existent path components.")
Reviewed by: ziaee, markj
Differential Revision: https://reviews.freebsd.org/D53027

(cherry picked from commit 7c66667d45e95af59f59e41ef169119a974a6be1)

Details

Provenance
desAuthored on Mon, Oct 13, 11:53 AM
Reviewer
ziaee
Differential Revision
D53027: realpath: Belatedly document POSIX conformance
Parents
rG6c9b25246d44: realpath: Report correct path on failure
Branches
Unknown
Tags
Unknown