mirror of
https://github.com/curl/curl.git
synced 2026-07-16 05:17:19 +03:00
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:
parent
aa71750687
commit
725ec470e2
28 changed files with 51 additions and 50 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue