language: s/behaviour/behavior/g

We currently use both spellings the british "behaviour" and the american
"behavior". However "behavior" is more used in the project so I think
it's worth dropping the british name.

Closes #6395
This commit is contained in:
Emil Engler 2020-12-31 10:11:49 +01:00 committed by Daniel Stenberg
parent aa71750687
commit 725ec470e2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
28 changed files with 51 additions and 50 deletions

View file

@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@ -118,7 +118,7 @@ sub checkfile {
my $found = scanfile($file);
if(!$found) {
print "$file: missing copyright range\n";
print "$file:1: missing copyright range\n";
return 2;
}
@ -140,8 +140,9 @@ sub checkfile {
if(defined($commityear) && scalar(@copyright) &&
$copyright[0]{year} != $commityear) {
print "$file: copyright year out of date, should be $commityear, " .
"is $copyright[0]{year}\n";
printf "$file:%d: copyright year out of date, should be $commityear, " .
"is $copyright[0]{year}\n",
$copyright[0]{line};
}
else {
$fine = 1;