mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
support files which have CR LF ending like those in win32utils
This commit is contained in:
parent
a3fd41157d
commit
e76936fd85
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,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