Page MenuHomeFreeBSD

fts: Add FTS_COMFOLLOWDIR and FTS_NOSTAT_TYPE.
ClosedPublic

Authored by des on May 7 2025, 11:32 AM.
Tags
None
Referenced Files
F123596653: D50233.id155133.diff
Wed, Jul 16, 2:45 PM
Unknown Object (File)
Wed, Jul 16, 3:33 AM
Unknown Object (File)
Tue, Jul 15, 5:28 AM
Unknown Object (File)
Mon, Jul 14, 7:11 AM
Unknown Object (File)
Thu, Jul 10, 8:41 PM
Unknown Object (File)
Sun, Jul 6, 9:29 PM
Unknown Object (File)
Sat, Jun 28, 7:28 AM
Unknown Object (File)
Fri, Jun 20, 9:56 PM
Subscribers

Details

Summary

MFC after: never
Relnotes: yes
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.May 7 2025, 11:32 AM
This revision is now accepted and ready to land.May 7 2025, 8:39 PM
kevans added inline comments.
lib/libc/gen/fts.c
914

I'd be tempted to add a default case since d_type isn't an enum. What are we doing with, e.g., DT_UNKNOWN?

lib/libc/gen/fts.c
914

I'm not sure DT_UNKNOWN can happen, but leaving it unchanged as FTS_NSOK is fine.

des marked an inline comment as done.May 8 2025, 6:19 AM
lib/libc/gen/fts.c
914

Sure, works for me. cd9660 has a DT_UNK OWN tendency, fwiw.

This revision was automatically updated to reflect the committed changes.