tidy-up: add spaces around equal operators where missing

Found via regex search: `=[^~>= ]`

Closes #21975
This commit is contained in:
Viktor Szakats 2026-06-11 17:22:30 +02:00
parent 2a606c68fa
commit e35ba09f47
No known key found for this signature in database
56 changed files with 593 additions and 596 deletions

View file

@ -30,7 +30,7 @@ use warnings;
use File::Copy;
my $docroot="https://curl.se/libcurl/c";
my $docroot = "https://curl.se/libcurl/c";
for my $f (@ARGV) {
open(NEW, ">$f.new");

View file

@ -47,15 +47,15 @@ my %doc;
my %rem;
while(<S>) {
if(/(^CURL[^ \n]*) *(.*)/) {
my ($sym, $rest)=($1, $2);
my @a=split(/ +/, $rest);
my ($sym, $rest) = ($1, $2);
my @a = split(/ +/, $rest);
$doc{$sym}=$a[0]; # when it was introduced
$doc{$sym} = $a[0]; # when it was introduced
if($a[2]) {
# this symbol is documented to have been present the last time
# in this release
$rem{$sym}=$a[2];
$rem{$sym} = $a[2];
}
}
}
@ -63,9 +63,9 @@ while(<S>) {
close(S);
sub age {
my ($ver)=@_;
my ($ver) = @_;
my @s=split(/\./, $ver);
my @s = split(/\./, $ver);
return $s[0]*10000+$s[1]*100+($s[2] || 0);
}