Page MenuHomeFreeBSD

pwait: Fix timeout unit parser
ClosedPublic

Authored by des on Fri, Sep 19, 11:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 9:58 AM
Unknown Object (File)
Fri, Oct 10, 3:32 AM
Unknown Object (File)
Fri, Oct 10, 3:32 AM
Unknown Object (File)
Fri, Oct 10, 3:32 AM
Unknown Object (File)
Thu, Oct 9, 10:29 PM
Unknown Object (File)
Thu, Oct 2, 10:24 PM
Unknown Object (File)
Thu, Oct 2, 9:57 PM
Unknown Object (File)
Thu, Oct 2, 5:37 AM
Subscribers

Details

Summary

The timeout parser would check the first character after the number and
ignore any subsequent ones.

While here, switch to bool for booleans and fix some style nits.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable