From nobody Mon Oct 20 16:11:34 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cr0mR5MWWz6CgVN; Mon, 20 Oct 2025 16:11:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cr0mQ702wz3VJt; Mon, 20 Oct 2025 16:11:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760976695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YY00r6UecP8RT49qvvLq/a+w9gU1xEk8C6xAV0R1sO8=; b=iZ4O+t5bGto6aPZ8O4MfImIg8AXYcYrCwRccUdRFxkY9/XOUPT/RLPR03ftpi/KqoyNy8a JhStLr/k2SU984hl6ykPPEtMiP631hLscQeRH7SCnnmfZstXzNPHLEYC/SKyqC04sOsvXL Cx8tWe3iHGO0j25ffM71iaBn+XlVJyrUjQVsX9CQFPIwGLTOJNDoKRXc4IjD82CZrbeN1v VqH5ZUzSmbtgaqlXNkA7/y6odvH7UrbZI7aCxXNqkT/6HZ3NUpoWa1ICK8WFDLAWjgQ0af TANcdhXmGmKZsqWTxgm7udObcwXhEEGe4znDfCFC/suiBd3TdivWuka2kjbm+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760976695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YY00r6UecP8RT49qvvLq/a+w9gU1xEk8C6xAV0R1sO8=; b=ZVPtXsuVYTt6uLCDCfDgjK8YniHv2FTaRLbxY5DZs4nK171AJr0JVpY83CGbaMnVCo8eZM stvbBhOfYNevGY/snrrVl4D8MulXkhlh3FXw/dkNa0FHri6fijLp3S2nHIN3t/6Zq3DB4+ hH9GiAS/k5xMEPEpMXxenMLv1JTgbAYv+oDr2Gq9HsJlo3zegzUExk3EumK9iXR3/RjCyi MIYaAVOISbGHbhrvWWsi5xOCBjTqZMEK0lDhuiF6Vka7AsiFt7vuqaCQPxKRavchNOUqR9 Qu30MZodHRl4SoedGkqsOC/0aM+fsCmpAPtxfQ/Zaht7wVeLMYFzf4jW5fFtZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760976695; a=rsa-sha256; cv=none; b=v1LbJihY5jTH21dDLLCCsYjxRQGF49i0PpossJPTsyLeugV+zRjQU94fZQMaqWexJkt4+u eMVKVyUGFhvVKSl9B80sKq8GXfayjp3D5Z7pdpAVATDWOczD80a7Rt+ikQqivkHKoZB41J ZM/ZyAbtqmjmgNTovzt/1Cz2p3VL31dB595g7PWud4PUlbmzWqn5huwkVawonwS2aAJfjU e0DxMA/+/5XXczOnjqsr3VpMEY9rrcrlawbb750tD4Jb/x/MhWrDCWdHkscyAriN0nbb65 qkODpTgVRrUY4/QeQMWlZSVNCtPIqlnBRhwdOk9wx0r2+WEFmyxcyzyrhF18wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cr0mQ6VPdz4ZL; Mon, 20 Oct 2025 16:11:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59KGBYY7036262; Mon, 20 Oct 2025 16:11:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59KGBY0j036259; Mon, 20 Oct 2025 16:11:34 GMT (envelope-from git) Date: Mon, 20 Oct 2025 16:11:34 GMT Message-Id: <202510201611.59KGBY0j036259@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 50d6a56a198c - stable/15 - realpath: Belatedly document POSIX conformance List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 50d6a56a198c7c3961313a933f54eea94ffa4b5f Auto-Submitted: auto-generated The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=50d6a56a198c7c3961313a933f54eea94ffa4b5f commit 50d6a56a198c7c3961313a933f54eea94ffa4b5f Author: Dag-Erling Smørgrav AuthorDate: 2025-10-13 11:53:31 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2025-10-20 16:11:21 +0000 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) --- lib/libc/stdlib/realpath.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index 065ba312c2ef..76f40249963b 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 11, 2012 +.Dd October 10, 2025 .Dt REALPATH 3 .Os .Sh NAME @@ -108,11 +108,11 @@ and .Xr getcwd 3 . .Sh SEE ALSO .Xr getcwd 3 -.\" .Sh STANDARDS -.\" The -.\" .Fn realpath -.\" function conforms to -.\" .St -p1003.1-2001 . +.Sh STANDARDS +The +.Fn realpath +function conforms to +.St -p1003.1-2001 . .Sh HISTORY The .Fn realpath