Page MenuHomeFreeBSD

vmstat: Complete libxo transition.
ClosedPublic

Authored by yanhaowang on Aug 12 2023, 3:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 3:07 PM
Unknown Object (File)
Dec 7 2024, 6:31 AM
Unknown Object (File)
Nov 24 2024, 2:49 AM
Unknown Object (File)
Nov 21 2024, 6:45 AM
Unknown Object (File)
Nov 12 2024, 6:37 PM
Unknown Object (File)
Nov 2 2024, 4:57 AM
Unknown Object (File)
Oct 22 2024, 6:41 PM
Unknown Object (File)
Oct 22 2024, 6:40 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53069
Build 49960: 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.