Lines Matching refs:copyright
13 # are also available at https://curl.se/docs/copyright.html.
51 'COPYRIGHTYEAR' => 'copyright year incorrect',
69 'COPYRIGHT' => 'file missing a copyright statement',
389 my @copyright=();
413 # check for a copyright statement and save the years
414 if($l =~ /\* +copyright .* (\d\d\d\d|)/i) {
417 push @copyright, {
427 push @copyright, {
921 if(!scalar(@copyright)) {
922 checkwarn("COPYRIGHT", 1, 0, $file, "", "Missing copyright statement", 1);
929 # not punish current hacking for past sins. The copyright years are
930 # right now a bit behind, so enforcing copyright year checking on all
942 # condition below will enforce copyright year checks against the year
945 @copyright = sort {$$b{year} cmp $$a{year}} @copyright;
960 if(defined($commityear) && scalar(@copyright) &&
961 $copyright[0]{year} != $commityear) {
962 checkwarn("COPYRIGHTYEAR", $copyright[0]{line}, $copyright[0]{col},
963 $file, $copyright[0]{code},
965 "is $copyright[0]{year}", 1);