mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:43:35 +03:00
parent
de9bb509d1
commit
9591ff123d
34 changed files with 128 additions and 128 deletions
|
|
@ -754,7 +754,7 @@ sub scanfile {
|
|||
my $cond = $4;
|
||||
if($cond =~ / = /) {
|
||||
checkwarn("ASSIGNWITHINCONDITION",
|
||||
$line, $pos+1, $file, $l,
|
||||
$line, $pos + 1, $file, $l,
|
||||
"assignment within conditional expression");
|
||||
}
|
||||
my $temp = $cond;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ awk '
|
|||
{
|
||||
if(length($0)) {
|
||||
num++;
|
||||
n = sprintf("%s%s%s,", n, length(n)?" ":"", $0);
|
||||
n = sprintf("%s%s%s,", n, length(n) ? " " : "", $0);
|
||||
#print n;
|
||||
if(length(n) > 77) {
|
||||
printf(" %s\n", p);
|
||||
|
|
@ -93,7 +93,7 @@ awk '
|
|||
}
|
||||
|
||||
END {
|
||||
pp=substr(p,1,length(p)-1);
|
||||
pp = substr(p, 1, length(p) - 1);
|
||||
printf(" %s\n", pp);
|
||||
printf(" (%d contributors)\n", num);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@ my $colwidth=79; # max number of columns
|
|||
|
||||
sub prefixline {
|
||||
my ($num) = @_;
|
||||
print "\t" x ($num/8);
|
||||
print ' ' x ($num%8);
|
||||
print "\t" x ($num / 8);
|
||||
print ' ' x ($num % 8);
|
||||
}
|
||||
|
||||
sub justline {
|
||||
|
|
@ -868,7 +868,7 @@ sub single {
|
|||
if($count == ($num -1)) {
|
||||
$sep = " and ";
|
||||
}
|
||||
$mstr .= sprintf "%s$l", $mstr?$sep:"";
|
||||
$mstr .= sprintf "%s$l", $mstr ? $sep : "";
|
||||
$count++;
|
||||
}
|
||||
push @foot, overrides($standalone,
|
||||
|
|
@ -1202,7 +1202,7 @@ sub listglobals {
|
|||
close(F);
|
||||
}
|
||||
for my $e (0 .. $#globalopts) {
|
||||
$globals .= sprintf "%s--%s", $e?($globalopts[$e+1] ? ", " : " and "):"",
|
||||
$globals .= sprintf "%s--%s", $e ? ($globalopts[$e + 1] ? ", " : " and ") : "",
|
||||
$globalopts[$e],;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue