]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
complete comment marker change
authorMark Andrews <marka@isc.org>
Sun, 30 Apr 2017 10:55:04 +0000 (20:55 +1000)
committerMark Andrews <marka@isc.org>
Sun, 30 Apr 2017 10:55:41 +0000 (20:55 +1000)
(cherry picked from commit c8abbc43127f77b2689341c8ca29b92157c9df4c)

util/update_copyrights

index f675721a7b6c249b30021e832a03502c3a178b77..88fd7058332b7976b1473c091557d997e72caf42 100644 (file)
@@ -384,14 +384,14 @@ foreach $file (keys %file_types) {
         } elsif ($mkd_comment) {
                $before_copyright = "";
                 if (/^<!/) {
-                        $_ = <SOURCE> if $_ eq "<!---\n";
+                        $_ = <SOURCE> if $_ eq "<!--\n";
                         if ($_ !~ /[Cc]opyright/) {
                                 print "$file: non-copyright comment\n";
                                 close(SOURCE);
                                 next;
                         }
                         while (defined($_)) {
-                                last if s/.*--->//;
+                                last if s/.*-->//;
                                 $_ = <SOURCE>;
                         }
                         print "$file: unterminated comment\n"