Page MenuHomeFreeBSD

patch libxo support for fstat
Needs ReviewPublic

Authored by ayushjayaswal.connect_gmail.com on Jun 5 2025, 10:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 7, 2:59 AM
Unknown Object (File)
Sun, Jul 6, 3:04 AM
Unknown Object (File)
Sun, Jun 29, 5:46 AM
Unknown Object (File)
Sat, Jun 28, 6:15 AM
Unknown Object (File)
Wed, Jun 25, 9:27 AM
Unknown Object (File)
Tue, Jun 24, 10:03 PM
Unknown Object (File)
Tue, Jun 24, 12:38 PM
Subscribers

Details

Reviewers
asomers
Summary

This Patch does the following:

+ provides --libxo flag for output and replaces all printf and fprintf calls with libxo equivalents.
+ fixes compilation warning at fstat.c:186:45
+ updates man page for fstat

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65222
Build 62105: arc lint + arc unit

Event Timeline

Please adjust the indentation style as per style(9).

+ fixed indents
+ made the the xo flags compatible with https://reviews.freebsd.org/D48706 that handles kqueue, mqueue, and procdesc file descriptors

Looks good now, but perhaps someone with more experience with libxo should have a look over D50699 and this one.