]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
look for opening [
authorMark Andrews <marka@isc.org>
Tue, 6 Oct 2015 08:40:01 +0000 (19:40 +1100)
committerMark Andrews <marka@isc.org>
Tue, 6 Oct 2015 08:40:01 +0000 (19:40 +1100)
util/update_copyrights

index 89300539d4af82ee5766305197a256f569ee448c..8f8e96c0488f08071417aec107c7996b2d12cc40 100644 (file)
@@ -322,7 +322,7 @@ foreach $file (keys %file_types) {
                                close(SOURCE) if (eof(SOURCE));
                                next;
                        }
-                       if (/^<!DOCTYPE/) {
+                       if (/^<!DOCTYPE.*\[$/) {
                                while (!eof(SOURCE)) {
                                        $_ = <SOURCE>;
                                        next if (eof(SOURCE));