git: d3c855f40fc2 - stable/14 - fts: Improve the description of FTS_NOSTAT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Jun 2026 14:40:48 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=d3c855f40fc294874c93e25d89af096aef04c6e5
commit d3c855f40fc294874c93e25d89af096aef04c6e5
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-05-29 17:45:10 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-04 14:40:28 +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 b3e82a7200e4..9c249480b18a 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -27,7 +27,7 @@
.\"
.\" @(#)fts.3 8.5 (Berkeley) 4/16/94
.\"
-.Dd October 6, 2025
+.Dd May 29, 2026
.Dt FTS 3
.Os
.Sh NAME
@@ -477,6 +477,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_PHYSICAL
This option causes the
.Nm