Page MenuHomeFreeBSD

timeout: Clean up
ClosedPublic

Authored by des on Feb 13 2026, 12:38 PM.
Tags
None
Referenced Files
F168858740: D55277.id171884.diff
Sun, Aug 30, 11:56 AM
Unknown Object (File)
Sun, Aug 30, 8:30 AM
Unknown Object (File)
Sun, Aug 30, 6:56 AM
Unknown Object (File)
Fri, Aug 28, 12:09 AM
Unknown Object (File)
Thu, Aug 27, 7:00 PM
Unknown Object (File)
Mon, Aug 17, 2:27 AM
Unknown Object (File)
Thu, Aug 13, 8:22 PM
Unknown Object (File)
Thu, Aug 13, 1:32 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 Not Applicable
Unit
Tests Not Applicable