diff options
author | Björn Gustavsson <[email protected]> | 2012-12-06 06:01:26 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-09 13:52:59 +0100 |
commit | 59f6d578ddaafa1a63222e1379320f230ac45d18 (patch) | |
tree | cd6e874ac88cbde4bb731d479cdc9a0f37f1fd2b /lib | |
parent | ae4f9fd0558c95e776c67be4800bea22eeb8e28b (diff) | |
download | otp-59f6d578ddaafa1a63222e1379320f230ac45d18.tar.gz otp-59f6d578ddaafa1a63222e1379320f230ac45d18.tar.bz2 otp-59f6d578ddaafa1a63222e1379320f230ac45d18.zip |
c: Remove support for packages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/src/c.erl | 2 |
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), |