diff options
author | Björn Gustavsson <[email protected]> | 2009-11-29 18:06:30 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2009-11-29 18:17:23 +0100 |
commit | a12141712c91b6225348749fea5f729a747260c2 (patch) | |
tree | a9a74f0566f601ed34e6d452b7b13a228aec180b /erts/emulator/beam/erl_bif_info.c | |
parent | 6448c56ecc7c6584a983c5173fd0748068820698 (diff) | |
download | otp-a12141712c91b6225348749fea5f729a747260c2.tar.gz otp-a12141712c91b6225348749fea5f729a747260c2.tar.bz2 otp-a12141712c91b6225348749fea5f729a747260c2.zip |
Fix glitches when native code modules are used
The erlang:make_stub_module/3 BIF (which is only used for
loading native code) does not zero the word that points out
an on_load routine (if any). As that word most proably will
contain a non-zero value, the erlang:module_loaded/1 BIF will
think that the module has an on_load routine which has not
returned and will always return 'false'. That in turns causes
various problems for the native code test cases.
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
0 files changed, 0 insertions, 0 deletions