]> 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:04 +0000 (20:55 +1000)
util/update_copyrights

index ec479025efd88e9bd338ea9ecab75c5f0a51fe2b..e35b4582487294009c64750700f17af6c22e0ff5 100644 (file)
@@ -372,14 +372,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"