Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 17:45:19 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dce6aff90b13 - main - fts: Improve the description of FTS_NOSTAT
Message-ID:  <6a19d0af.3efa6.6a09da6a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=dce6aff90b13f30fcb4c1fa263868607ccda8041

commit dce6aff90b13f30fcb4c1fa263868607ccda8041
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-05-29 17:45:10 +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
---
 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 199603b5f3c7..b6dbfffe8079 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 May 21, 2026
+.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 ,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a19d0af.3efa6.6a09da6a>