Page MenuHomeFreeBSD

vmstat: Complete libxo transition.
ClosedPublic

Authored by yanhaowang on Aug 12 2023, 3:13 AM.
Tags
None
Referenced Files
F100669741: D41432.id125905.diff
Fri, Oct 18, 3:44 AM
Unknown Object (File)
Sat, Oct 12, 3:19 PM
Unknown Object (File)
Tue, Oct 8, 7:17 PM
Unknown Object (File)
Fri, Oct 4, 4:42 PM
Unknown Object (File)
Sep 17 2024, 5:56 AM
Unknown Object (File)
Sep 8 2024, 6:28 PM
Unknown Object (File)
Sep 8 2024, 11:24 AM
Unknown Object (File)
Sep 8 2024, 7:12 AM

Diff Detail

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

Event Timeline

  • Return non-zero status on write failuer.

Originally check the xo_finish return value can achive the POSIX standard. Howeve I use (trap "" PIPE; vmstat 2>stderr; echo $? >status | true to check this, it didn't work. I find check xo_finish return value is not enough here. Becuase xo_finish will always return 0, there is already a xo_flush call before xo_finish. So we need check xo_flush return value here.

This revision is now accepted and ready to land.Aug 17 2023, 4:03 PM
This revision was automatically updated to reflect the committed changes.