Page MenuHomeFreeBSD

fts: Add FTS_COMFOLLOWDIR and FTS_NOSTAT_TYPE.
ClosedPublic

Authored by des on Wed, May 7, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 11, 2:59 PM
Unknown Object (File)
Sun, May 11, 9:01 AM
Unknown Object (File)
Sat, May 10, 3:13 PM
Unknown Object (File)
Thu, May 8, 6:44 PM
Unknown Object (File)
Thu, May 8, 4:00 PM
Unknown Object (File)
Thu, May 8, 3:42 PM
Unknown Object (File)
Thu, May 8, 1:02 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63987
Build 60871: arc lint + arc unit

Event Timeline

des requested review of this revision.Wed, May 7, 11:32 AM
This revision is now accepted and ready to land.Wed, May 7, 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.Thu, May 8, 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.