Page MenuHomeFreeBSD

kyua: Stop using readdir_r()
ClosedPublic

Authored by des on Aug 1 2025, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 12:12 PM
Unknown Object (File)
Fri, Nov 21, 2:24 PM
Unknown Object (File)
Fri, Nov 21, 2:08 PM
Unknown Object (File)
Fri, Nov 21, 2:04 PM
Unknown Object (File)
Fri, Nov 21, 2:04 PM
Unknown Object (File)
Fri, Nov 21, 2:03 PM
Unknown Object (File)
Fri, Nov 21, 2:02 PM
Unknown Object (File)
Mon, Nov 17, 10:55 PM
Subscribers

Details

Summary

It cannot be used safely, and Kyua doesn't even pretend to try.

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

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

Event Timeline

des requested review of this revision.Aug 1 2025, 4:17 PM
igoro added a subscriber: igoro.

LGTM

contrib/kyua/utils/fs/directory.cpp
197

It seems it needs renaming to readdir not to let message readers think that readder_r was on the case.

This revision is now accepted and ready to land.Aug 1 2025, 10:56 PM
des marked an inline comment as done.Aug 1 2025, 11:08 PM
This revision now requires review to proceed.Aug 1 2025, 11:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 1 2025, 11:14 PM
This revision was automatically updated to reflect the committed changes.