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: 7877ed7ce3 ("Avoid mapping ENOENT to ENOTDIR for non-existent path components.")
Reviewed by: ziaee, markj
Differential Revision: https://reviews.freebsd.org/D53027
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd May 11, 2012
|
.Dd October 10, 2025
|
||||||
.Dt REALPATH 3
|
.Dt REALPATH 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -108,11 +108,11 @@ and
|
|||||||
.Xr getcwd 3 .
|
.Xr getcwd 3 .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr getcwd 3
|
.Xr getcwd 3
|
||||||
.\" .Sh STANDARDS
|
.Sh STANDARDS
|
||||||
.\" The
|
The
|
||||||
.\" .Fn realpath
|
.Fn realpath
|
||||||
.\" function conforms to
|
function conforms to
|
||||||
.\" .St -p1003.1-2001 .
|
.St -p1003.1-2001 .
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Fn realpath
|
.Fn realpath
|
||||||
|
|||||||
Reference in New Issue
Block a user