]> git.ipfire.org Git - thirdparty/openssl.git/commit
Modify check-format to match line length coding style
authorNeil Horman <nhorman@openssl.org>
Wed, 10 Jul 2024 14:57:26 +0000 (10:57 -0400)
committerNeil Horman <nhorman@openssl.org>
Thu, 11 Jul 2024 16:28:25 +0000 (12:28 -0400)
commitc86d37cec919caf6ca71d093cff3e05ade1212fe
tree0bdc0760abdb6996ad855c519ce837374609f606
parent00163371fa502df62465163185a9a434574d6746
Modify check-format to match line length coding style

In an effort to clarify our coding style, generally line lengths SHOULD
be no longer than 80 columns but MUST be no longer than 100 columns

Modify the check-format.pl script to account for this.

Replace the -l|--sloppy-len option (which modifies the max line length
to 84 rather than 80 cols), with -l|--strict-len which reduces allowed
line length to 80 cols from the new default 100 cols).

Also fix up a typo in the docs indicating --sloppy-bodylen has a short
-l option (its actually -b)

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/24841)
util/check-format.pl