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)
Sat, Nov 30, 5:02 PM
Unknown Object (File)
Nov 7 2024, 4:54 PM
Unknown Object (File)
Oct 19 2024, 12:35 PM
Unknown Object (File)
Oct 19 2024, 1:59 AM
Unknown Object (File)
Oct 7 2024, 6:39 AM
Unknown Object (File)
Oct 6 2024, 10:37 PM
Unknown Object (File)
Sep 29 2024, 3:46 AM
Unknown Object (File)
Sep 8 2024, 9:38 AM
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.