From nobody Thu Jun 4 14:40:26 2026 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 4gWS0V5SKsz6gQ0x for ; Thu, 04 Jun 2026 14:40:26 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gWS0V3kYsz3q0X for ; Thu, 04 Jun 2026 14:40:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780584026; 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=qCG5UnZRBDcF4tpknEhrSoo7KBw5CEeYEQAO/6YzuoU=; b=tev0AcuYDuqRs++EU90s3ZGpfjmneBfSrYIWqTZf3G0Kyt+ucO9PdCv+nnJjbIdI2qjdle 1mm/SkVjzkzv1IF5aOh2LrDGRScdpD8B6pO8XQCQGKOXp6VbZJJJd1yooFDndEar7aYEbZ GsgZ9ArFgZiq8MhE1qCMig7X1c/JB0rFg6teohb+gioP5r60RIyDd3hg2aPax477MvuW3g 7ynY0ulgMxqPLQPlUIdkLPid3hqpDnoQnLkNW9EL2YfdWCfAZPDfBLzf5cHtvAiuLNuxQE X5BfgE1ZIMaM7CncuEHXjCUqZmmXxJW8ys+bGfPRAknB5EAtO0Njlr/dPQzC1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780584026; a=rsa-sha256; cv=none; b=iHiA6LBC3K9cKMUhLF+/R4C6Rva0E1nfuyaUsC1ePaRPjqnmJ+oTnASvsnST95CM9UL0CI 4EpHdht4OyyCFfAHZncWAvhTZieAjdPIufNG/OfXmPKr9XzFZpDXHmR9ImKVYctYEUv47+ NXzZrbicdFh96lsXrlaUmKGXGQkIlWTAC2BfxK0Le5ALnnhHLFeVozz/TZ4o7RSpntnQv7 i0jh6deBoD53ZVinUNDJiRogJWsrhfbmFfZ1N3dDZUS52xsennkhK+vyqL5zDeVs3Hk9w4 ypJUfZRjOccrDC4sYTwZ0nGsMxn1QrDB7Ovh7MFEL+N5zpqIM0EdBXUF7iHDQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780584026; 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=qCG5UnZRBDcF4tpknEhrSoo7KBw5CEeYEQAO/6YzuoU=; b=oNcX6Ef9ml6L0NdAtQtO36ifb5iVest3/UVovPIPUmZU8CB2Z5+aL+t6c9HOFwFzTL4PE8 4lCUqnJCaoo+lpAAhz6pWqB9uIjgeVepUJABB9y+SMXmtdeCplfcsREjScSJfqzHw+BbBQ YFYzRY7nXuXqinrkFy6dxuQA+zWgkz7vnBab1l7QUGs2nz2zWUSLb3VZKJYKYyuhktSZgy pw3JloTWeB85adoSJSveegKv0Dwtu7TrejQW0gj7ag8pAKxjunCL+4LEDv/4kBbiT4kCki nchuIoswuQpiPL0Ewn7nlgavmPoJseGaI6fQoniIW0qofhD8OGs6rfcvPDMfqQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gWS0V35lNz12d1 for ; Thu, 04 Jun 2026 14:40:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3cb64 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 04 Jun 2026 14:40:26 +0000 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=B8rg?=rav Subject: git: e6cabe3030ce - stable/15 - fts: Improve the description of FTS_NOSTAT 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: e6cabe3030ce6add2e7a0db3ec4e13e76549ff01 Auto-Submitted: auto-generated Date: Thu, 04 Jun 2026 14:40:26 +0000 Message-Id: <6a218e5a.3cb64.272aab94@gitrepo.freebsd.org> The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=e6cabe3030ce6add2e7a0db3ec4e13e76549ff01 commit e6cabe3030ce6add2e7a0db3ec4e13e76549ff01 Author: Dag-Erling Smørgrav AuthorDate: 2026-05-29 17:45:10 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-06-04 14:40:17 +0000 fts: Improve the description of FTS_NOSTAT Note that we still need to stat directories and the roots. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D57325 (cherry picked from commit dce6aff90b13f30fcb4c1fa263868607ccda8041) --- lib/libc/gen/fts.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index da304e59ee72..79b94afa806a 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 6, 2025 +.Dd May 29, 2026 .Dt FTS 3 .Os .Sh NAME @@ -497,6 +497,13 @@ field to and leave the contents of the .Fa statp field undefined. +The roots and any directories encountered during traversal +.Po +.Dv FTS_D , +.Dv FTS_DC , +.Dv FTS_DP +.Pc +are still fully populated. .It Dv FTS_NOSTAT_TYPE This option is similar to .Dv FTS_NOSTAT ,