Skip to content
Browse files

Merge branch 'bjorn/otp/fix-make_preload/OTP-10201' into maint

* bjorn/otp/fix-make_preload/OTP-10201:
  make_preload: Don't fail if Perl's default file encoding is UTF-8
  • Loading branch information...
2 parents a03b014 + a6024f8 commit ae2c50f36806b26530de88d2609cd6ced018cb54 @bjorng bjorng committed Aug 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 erts/emulator/utils/make_preload
View
1 erts/emulator/utils/make_preload
@@ -87,6 +87,7 @@ foreach $file (@ARGV) {
my $comment = '';
open(FILE, $file) or error("failed to read $file: $!");
+ binmode(FILE);
$_ = <FILE>;
$_ = beam_strip($_);
close(FILE);

0 comments on commit ae2c50f

Please sign in to comment.
Something went wrong with that request. Please try again.