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, Jan 18, 7:56 AM
Unknown Object (File)
Fri, Jan 10, 9:59 AM
Unknown Object (File)
Dec 2 2024, 1:56 PM
Unknown Object (File)
Nov 20 2024, 7:30 PM
Unknown Object (File)
Oct 18 2024, 10:12 AM
Unknown Object (File)
Sep 30 2024, 6:15 PM
Unknown Object (File)
Sep 27 2024, 2:47 PM
Unknown Object (File)
Sep 26 2024, 4:41 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.