Page MenuHomeFreeBSD

config: error out on malformed env/hint lines
ClosedPublic

Authored by kevans on Feb 16 2023, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 23, 5:00 PM
Unknown Object (File)
Thu, Dec 18, 10:30 AM
Unknown Object (File)
Nov 5 2025, 11:57 PM
Unknown Object (File)
Nov 3 2025, 5:07 AM
Unknown Object (File)
Oct 30 2025, 5:34 AM
Unknown Object (File)
Oct 26 2025, 2:57 AM
Unknown Object (File)
Oct 22 2025, 10:07 PM
Unknown Object (File)
Oct 8 2025, 1:15 AM
Subscribers
None

Details

Summary

We need these to be assignments, error out if they're not.

While we're here, tag errout as __printflike so that the compiler will
sanity check the format string + args.

CID: 1505293

Diff Detail

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

Event Timeline

kevans created this revision.

Looks good. I'd be tempted to separate the prinflike thing, but if not that's cool too.

This revision is now accepted and ready to land.Feb 16 2023, 5:33 PM
This revision was automatically updated to reflect the committed changes.