X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/5e1cf63ba35995df5a77e4c4eb5eb266ab2fc9b5..9c7cb4611e3c450ad0766327af388f5dce504c02:/Porting/corelist-perldelta.pl?ds=inline diff --git a/Porting/corelist-perldelta.pl b/Porting/corelist-perldelta.pl index 0a9695e..690d66a 100755 --- a/Porting/corelist-perldelta.pl +++ b/Porting/corelist-perldelta.pl @@ -265,6 +265,7 @@ sub do_update_existing { my $text = DeltaUpdater::transform_pod( $existing, $data ); open my $out, '>', $existing or die "can't open perldelta file $existing: $!"; + binmode($out); print $out $text; close $out; } @@ -544,6 +545,7 @@ sub do_check { my $append_to_out = ''; open my $fh, '<', $existing or die "can't open perldelta file $existing: $!"; + binmode($fh); while (<$fh>) { # treat the rest of the file as plain text