We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd1a8b7 commit fb8c4c0Copy full SHA for fb8c4c0
lib/ExtUtils/Command.pm
@@ -347,6 +347,7 @@ sub dos2unix {
347
open ORIG, $_ or do { warn "dos2unix can't open $_: $!"; return };
348
open TEMP, ">$temp" or
349
do { warn "dos2unix can't create .dos2unix_tmp: $!"; return };
350
+ binmode ORIG; binmode TEMP;
351
while (my $line = <ORIG>) {
352
$line =~ s/\015\012/\012/g;
353
print TEMP $line;
0 commit comments