aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-06 06:01:26 +0100
committerBjörn Gustavsson <[email protected]>2013-01-09 13:52:59 +0100
commit59f6d578ddaafa1a63222e1379320f230ac45d18 (patch)
treecd6e874ac88cbde4bb731d479cdc9a0f37f1fd2b
parentae4f9fd0558c95e776c67be4800bea22eeb8e28b (diff)
downloadotp-59f6d578ddaafa1a63222e1379320f230ac45d18.tar.gz
otp-59f6d578ddaafa1a63222e1379320f230ac45d18.tar.bz2
otp-59f6d578ddaafa1a63222e1379320f230ac45d18.zip
c: Remove support for packages
-rw-r--r--lib/stdlib/src/c.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/c.erl b/lib/stdlib/src/c.erl
index a920921a5e..4c1c0f904b 100644
--- a/lib/stdlib/src/c.erl
+++ b/lib/stdlib/src/c.erl
@@ -116,7 +116,7 @@ machine_load(Mod, File, Opts) ->
File2 = filename:join(Dir, filename:basename(File, ".erl")),
case compile:output_generated(Opts) of
true ->
- Base = packages:last(Mod),
+ Base = atom_to_list(Mod),
case filename:basename(File, ".erl") of
Base ->
code:purge(Mod),