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 <[email protected]> AuthorDate: 2026-05-29 17:45:10 +0000 Commit: Dag-Erling Smørgrav <[email protected]> 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 ,
