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)
Mar 22 2024, 11:08 PM
Unknown Object (File)
Mar 22 2024, 11:08 PM
Unknown Object (File)
Mar 22 2024, 11:08 PM
Unknown Object (File)
Mar 8 2024, 9:37 AM
Unknown Object (File)
Jan 7 2024, 3:07 AM
Unknown Object (File)
Jan 7 2024, 3:07 AM
Unknown Object (File)
Jan 7 2024, 3:07 AM
Unknown Object (File)
Jan 4 2024, 4:46 PM
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.