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)
Sun, May 17, 2:22 AM
Unknown Object (File)
Fri, May 15, 3:46 PM
Unknown Object (File)
Fri, May 15, 11:30 AM
Unknown Object (File)
Fri, May 15, 5:19 AM
Unknown Object (File)
Fri, May 15, 4:20 AM
Unknown Object (File)
Thu, May 14, 11:26 PM
Unknown Object (File)
Thu, May 14, 2:10 PM
Unknown Object (File)
Tue, May 12, 1:27 AM
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 Not Applicable
Unit
Tests Not Applicable

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.