Page MenuHomeFreeBSD

Write string constant differently to improve readability.
ClosedPublic

Authored by delphij on Apr 5 2019, 6:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 9 2024, 9:02 AM
Unknown Object (File)
Mar 9 2024, 9:02 AM
Unknown Object (File)
Mar 9 2024, 9:02 AM
Unknown Object (File)
Mar 9 2024, 8:50 AM
Unknown Object (File)
Feb 9 2024, 11:06 PM
Unknown Object (File)
Dec 23 2023, 3:40 AM
Unknown Object (File)
Dec 20 2023, 4:17 AM
Unknown Object (File)
Dec 12 2023, 1:49 PM
Subscribers

Details

Summary

Write string constant differently to improve readability.

Test Plan

test with previous test cases

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thank you, that is 100x clearer as to what is in the constant

This revision is now accepted and ready to land.Apr 5 2019, 8:15 AM
emaste added a subscriber: emaste.

This LGTM as long as compilers or static analyzers don't try to "helpfully" warn that the string does not fit or will not be null terminated.

This revision was automatically updated to reflect the committed changes.