aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_tidy.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-15 09:10:58 +0100
committerHans Bolinder <[email protected]>2013-02-15 13:03:49 +0100
commit82cd2e914d68380f7d0dac2a47ed3aac25bc6c9d (patch)
treebc8287d8e59c4937abfdb68bd893f723a0f28970 /lib/syntax_tools/src/erl_tidy.erl
parent0d77170a3f0e537d103d83f28ae09977d6e95fb8 (diff)
downloadotp-82cd2e914d68380f7d0dac2a47ed3aac25bc6c9d.tar.gz
otp-82cd2e914d68380f7d0dac2a47ed3aac25bc6c9d.tar.bz2
otp-82cd2e914d68380f7d0dac2a47ed3aac25bc6c9d.zip
[stdlib] Correct handling of Unicode filenames
Diffstat (limited to 'lib/syntax_tools/src/erl_tidy.erl')
-rw-r--r--lib/syntax_tools/src/erl_tidy.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_tidy.erl b/lib/syntax_tools/src/erl_tidy.erl
index e9a88caff3..35fd0c2e02 100644
--- a/lib/syntax_tools/src/erl_tidy.erl
+++ b/lib/syntax_tools/src/erl_tidy.erl
@@ -435,7 +435,6 @@ file_type(Name, Links) ->
end.
open_output_file(FName, Options) ->
-io:format("Options ~p~n", [Options]),
case catch file:open(FName, [write]++Options) of
{ok, FD} ->
FD;
@@ -1805,7 +1804,7 @@ get_free_vars_1([{free, B} | _Bs]) -> B;
get_free_vars_1([_ | Bs]) -> get_free_vars_1(Bs);
get_free_vars_1([]) -> [].
-filename([C | T]) when is_integer(C), C > 0, C =< 255 ->
+filename([C | T]) when is_integer(C), C > 0 ->
[C | filename(T)];
filename([H|T]) ->
filename(H) ++ filename(T);