Page MenuHomeFreeBSD

timeout: Clean up
ClosedPublic

Authored by des on Feb 13 2026, 12:38 PM.
Tags
None
Referenced Files
F170656928: D55277.id171871.diff
Sat, Sep 5, 8:39 PM
F170569519: D55277.id171871.diff
Sat, Sep 5, 11:09 AM
Unknown Object (File)
Fri, Sep 4, 9:20 PM
Unknown Object (File)
Fri, Sep 4, 9:06 PM
Unknown Object (File)
Thu, Sep 3, 9:38 AM
Unknown Object (File)
Wed, Sep 2, 2:07 PM
Unknown Object (File)
Wed, Sep 2, 12:16 PM
Unknown Object (File)
Tue, Sep 1, 9:27 AM
Subscribers

Details

Summary
  • Annotate logv() and fix format string bug.
  • Don't reinvent str2sig(3).
  • Reorganize kill_self() so we unblock signals as late as possible, and use raise(2) instead of kill(2).
  • Explicitly close unused pipe descriptors.
  • Use correct type to collect result of read(2) and write(2).
  • Compare return values to 0, not -1.
  • Sort local variables according to style(9).
  • Reduce unnecessary nesting.
  • Reindent.
  • Fix typo in manual page.

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

Diff Detail

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