tidy-up: miscellaneous

- `N byte` -> `N-byte` or `N bytes`.
- INTERNALS.md: language tweaks.
- schannel: language tweak in comment/error message.
- socks_gssapi, socks_sspi: simplify composing an error message.
  (at a cost of 8 extra constant string bytes.)
- m4/curl-compilers.m4: fix typo in link (in comment).
- contrithanks.sh: fix indent, drop stray `;` terminator.
- lib, src, tests: drop/fix a bunch of badwords.
- fix typos in comments.
- fix indent, stray spaces.

Some of these spotted by GitHub Code Quality and Copilot

Closes #22009
This commit is contained in:
Viktor Szakats 2026-06-12 00:33:40 +02:00
parent 5bff1c35f1
commit 0ffab25b6c
No known key found for this signature in database
158 changed files with 357 additions and 366 deletions

View file

@ -112,6 +112,7 @@ will:rewrite to present tense
32-bits:32 bits
64-bits:64 bits
initialise:initialize
initialising:initializing
very:rephrase using an alternative word
just:rephrase using an alternative word
simply:rephrase using an alternative word
@ -131,3 +132,4 @@ with with:with
---Curl Corporation
---:lib/:will
---:src/:will
---:tests/data/:file name

View file

@ -36,11 +36,11 @@ if test "$start" = "-h"; then
exit
fi
if test "$start" = "stdout"; then
# output the names on stdout
use_stdout="yes"
start=""
# output the names on stdout
use_stdout="yes"
start=""
else
use_stdout="no";
use_stdout="no"
fi
if test -z "$start"; then
start=$(git tag --sort=taggerdate | grep "^curl-" | tail -1)

View file

@ -96,7 +96,7 @@ my $alllines = 0;
# 142 417 809 1677 1305 src/tool_getparam.c(1677): getparameter
for my $l (@output) {
chomp $l;
if($l =~/^(\d+)\t\d+\t\d+\t\d+\t(\d+)\t([^\(]+).*: ([^ ]*)/) {
if($l =~ /^(\d+)\t\d+\t\d+\t\d+\t(\d+)\t([^\(]+).*: ([^ ]*)/) {
my ($score, $len, $path, $func) = ($1, $2, $3, $4);
my $allow = 0;

View file

@ -96,7 +96,7 @@ my $alllines = 0;
# 142 417 809 1677 1305 src/tool_getparam.c(1677): getparameter
for my $l (@output) {
chomp $l;
if($l =~/^(\d+)\t\d+\t\d+\t\d+\t(\d+)\t([^\(]+).*: ([^ ]*)/) {
if($l =~ /^(\d+)\t\d+\t\d+\t\d+\t(\d+)\t([^\(]+).*: ([^ ]*)/) {
my ($score, $length, $path, $func) = ($1, $2, $3, $4);
my $allow = 0;