mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 15:29:58 -04:00
support files which have CR LF ending like those in win32utils
(cherry picked from commit e76936fd85)
This commit is contained in:
parent
7378ba8a80
commit
a7e1a91a36
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