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)
Sat, Jun 13, 10:58 AM
Unknown Object (File)
Fri, Jun 12, 5:16 PM
Unknown Object (File)
Tue, May 26, 12:12 PM
Unknown Object (File)
Mon, May 25, 11:41 PM
Unknown Object (File)
Mon, May 25, 10:41 PM
Unknown Object (File)
Sat, May 23, 4:48 AM
Unknown Object (File)
May 10 2026, 8:37 AM
Unknown Object (File)
Apr 6 2026, 7:08 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.