aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compile_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-04-19 15:29:19 +0200
committerBjörn Gustavsson <[email protected]>2013-04-19 15:33:28 +0200
commit1f3afa8143d9aabc178b6fbcd09a693fc105065a (patch)
tree4accded8cb3042f9ccac9b0c730c5993c6e7ce02 /lib/compiler/test/compile_SUITE.erl
parenta934a97dd7006a85b279fd6af3d245fd2357b3ae (diff)
downloadotp-1f3afa8143d9aabc178b6fbcd09a693fc105065a.tar.gz
otp-1f3afa8143d9aabc178b6fbcd09a693fc105065a.tar.bz2
otp-1f3afa8143d9aabc178b6fbcd09a693fc105065a.zip
Remove the "coding: utf-8" comment from all Erlang source files
Diffstat (limited to 'lib/compiler/test/compile_SUITE.erl')
-rw-r--r--lib/compiler/test/compile_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl
index 229e5a98a1..aed786727d 100644
--- a/lib/compiler/test/compile_SUITE.erl
+++ b/lib/compiler/test/compile_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2012. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -781,7 +781,7 @@ do_asm(Beam, Outdir) ->
try
{ok,M,Asm} = compile:forms(A, ['S']),
AsmFile = filename:join(Outdir, atom_to_list(M)++".S"),
- {ok,Fd} = file:open(AsmFile, [write]),
+ {ok,Fd} = file:open(AsmFile, [write,{encoding,utf8}]),
beam_listing:module(Fd, Asm),
ok = file:close(Fd),
case compile:file(AsmFile, [from_asm,no_postopt,binary,report]) of