aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/utils
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-08-27 09:30:39 +0200
committerBjörn Gustavsson <[email protected]>2012-08-27 09:30:39 +0200
commitae2c50f36806b26530de88d2609cd6ced018cb54 (patch)
treef54ebbfc5893098110fe6cf96babc6bd7f58bb35 /erts/emulator/utils
parenta03b01444641aedfe6f6730d38ff890e33d3a8ea (diff)
parenta6024f8d7786664378dae8814997405c6f795f3f (diff)
downloadotp-ae2c50f36806b26530de88d2609cd6ced018cb54.tar.gz
otp-ae2c50f36806b26530de88d2609cd6ced018cb54.tar.bz2
otp-ae2c50f36806b26530de88d2609cd6ced018cb54.zip
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
Diffstat (limited to 'erts/emulator/utils')
-rwxr-xr-xerts/emulator/utils/make_preload1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/utils/make_preload b/erts/emulator/utils/make_preload
index 13019d4062..4e329b24f8 100755
--- a/erts/emulator/utils/make_preload
+++ b/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);