aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-06 05:56:39 +0100
committerBjörn Gustavsson <[email protected]>2013-01-09 13:52:59 +0100
commitae4f9fd0558c95e776c67be4800bea22eeb8e28b (patch)
treee92d1055ba8e239a0df71b1baab20224710b8e22 /lib/stdlib/src
parentbef1126e3328c4e621fdfb6230ab8a51732df7d6 (diff)
downloadotp-ae4f9fd0558c95e776c67be4800bea22eeb8e28b.tar.gz
otp-ae4f9fd0558c95e776c67be4800bea22eeb8e28b.tar.bz2
otp-ae4f9fd0558c95e776c67be4800bea22eeb8e28b.zip
filename: Remove support for packages
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/filename.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/filename.erl b/lib/stdlib/src/filename.erl
index 59d6de5d10..0c50eb34e6 100644
--- a/lib/stdlib/src/filename.erl
+++ b/lib/stdlib/src/filename.erl
@@ -878,7 +878,7 @@ filter_options(_Base, [], Result) ->
%% Gets the source file given path of object code and module name.
get_source_file(Obj, Mod, Rules) ->
- source_by_rules(dirname(Obj), packages:last(Mod), Rules).
+ source_by_rules(dirname(Obj), atom_to_list(Mod), Rules).
source_by_rules(Dir, Base, [{From, To}|Rest]) ->
case try_rule(Dir, Base, From, To) of