mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 23:30:00 -04:00
Merge branch '980-util-update_copyrights-now-needs-to-handle-files-with-cr-lf-endings-v9_11' into 'v9_11'
Resolve "util/update_copyrights now needs to handle files with CR LF endings." See merge request isc-projects/bind9!1802
This commit is contained in:
commit
13dcf61a98
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ foreach $file (keys %file_types) {
|
|||
|
||||
($nonspaceprefix = $prefix) =~ s/\s+$//;
|
||||
|
||||
open(SOURCE, "<$file") || die "can't open $file: $!";
|
||||
open(SOURCE, "<:crlf", $file) || die "can't open $file: $!";
|
||||
$_ = <SOURCE>;
|
||||
if ($type eq "YACC") {
|
||||
unless ($_ eq "%{\n") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue