Page MenuHomeFreeBSD

timeout: Clean up
ClosedPublic

Authored by des on Feb 13 2026, 12:38 PM.
Tags
None
Referenced Files
F148120006: D55277.diff
Sun, Mar 15, 10:32 PM
Unknown Object (File)
Fri, Mar 13, 4:48 AM
Unknown Object (File)
Sat, Mar 7, 3:45 PM
Unknown Object (File)
Mon, Feb 23, 10:50 AM
Unknown Object (File)
Mon, Feb 23, 10:50 AM
Unknown Object (File)
Tue, Feb 17, 9:09 AM
Unknown Object (File)
Tue, Feb 17, 3:10 AM
Unknown Object (File)
Tue, Feb 17, 1:43 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